forked from chipmunkmc/chipmunkbot
rename
This commit is contained in:
parent
bcdbf5c2f3
commit
5cef742fef
2 changed files with 3 additions and 5 deletions
|
@ -18,10 +18,8 @@ import com.github.steveice10.packetlib.event.session.SessionListener;
|
||||||
import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack;
|
import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||||
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
|
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
|
||||||
import com.github.steveice10.opennbt.tag.builtin.StringTag;
|
import com.github.steveice10.opennbt.tag.builtin.StringTag;
|
||||||
import com.github.steveice10.mc.protocol.MinecraftProtocol;
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import net.kyori.adventure.text.TextComponent;
|
import net.kyori.adventure.text.TextComponent;
|
||||||
import net.kyori.adventure.text.event.HoverEvent;
|
|
||||||
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import java.util.BitSet;
|
import java.util.BitSet;
|
||||||
|
@ -47,7 +45,7 @@ public class ChatPlugin extends SessionAdapter {
|
||||||
systemChatParsers = new ArrayList<>();
|
systemChatParsers = new ArrayList<>();
|
||||||
systemChatParsers.add(new MinecraftChatParser(client));
|
systemChatParsers.add(new MinecraftChatParser(client));
|
||||||
systemChatParsers.add(new KaboomChatParser(client));
|
systemChatParsers.add(new KaboomChatParser(client));
|
||||||
systemChatParsers.add(new ChomeNSCustomChatParser(client));
|
systemChatParsers.add(new U203aChatParser(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void message (String message) {
|
public void message (String message) {
|
||||||
|
|
|
@ -13,10 +13,10 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
// ported from chomens sex bot
|
// ported from chomens sex bot
|
||||||
public class ChomeNSCustomChatParser implements SystemChatParser {
|
public class U203aChatParser implements SystemChatParser {
|
||||||
private final ChipmunkBot client;
|
private final ChipmunkBot client;
|
||||||
|
|
||||||
public ChomeNSCustomChatParser (ChipmunkBot client) {
|
public U203aChatParser(ChipmunkBot client) {
|
||||||
this.client = client;
|
this.client = client;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue