diff --git a/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java b/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java index 72bcb93..b913664 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java +++ b/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java @@ -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.opennbt.tag.builtin.CompoundTag; 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.TextComponent; -import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer; import lombok.Getter; import java.util.BitSet; @@ -47,7 +45,7 @@ public class ChatPlugin extends SessionAdapter { systemChatParsers = new ArrayList<>(); systemChatParsers.add(new MinecraftChatParser(client)); systemChatParsers.add(new KaboomChatParser(client)); - systemChatParsers.add(new ChomeNSCustomChatParser(client)); + systemChatParsers.add(new U203aChatParser(client)); } public void message (String message) { diff --git a/src/main/java/land/chipmunk/chipmunkbot/systemChat/ChomeNSCustomChatParser.java b/src/main/java/land/chipmunk/chipmunkbot/systemChat/U203aChatParser.java similarity index 93% rename from src/main/java/land/chipmunk/chipmunkbot/systemChat/ChomeNSCustomChatParser.java rename to src/main/java/land/chipmunk/chipmunkbot/systemChat/U203aChatParser.java index 370d661..ca20c52 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/systemChat/ChomeNSCustomChatParser.java +++ b/src/main/java/land/chipmunk/chipmunkbot/systemChat/U203aChatParser.java @@ -13,10 +13,10 @@ import java.util.List; import java.util.UUID; // ported from chomens sex bot -public class ChomeNSCustomChatParser implements SystemChatParser { +public class U203aChatParser implements SystemChatParser { private final ChipmunkBot client; - public ChomeNSCustomChatParser (ChipmunkBot client) { + public U203aChatParser(ChipmunkBot client) { this.client = client; }