diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 66b934e..1a26d2d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -94,13 +94,6 @@
1680245437032
-
- 1681194542547
-
-
-
- 1681194542547
-
1681194626010
@@ -437,7 +430,14 @@
1682122055990
-
+
+ 1682130155082
+
+
+
+ 1682130155082
+
+
@@ -468,7 +468,6 @@
-
@@ -477,7 +476,8 @@
-
+
+
diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java
index 7c60bd9..704eef2 100644
--- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java
+++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java
@@ -158,7 +158,7 @@ public class ChatPlugin extends SessionAdapter {
));
} else {
// Temporary fix for the bot getting kicked instead of chatting
- bot.core().run("essentials:sudo " + bot.players().getBotEntry().profile().getIdAsString() + " c:" + splitMessage);
+ bot.core().run("essentials:sudo " + bot.username() + " c:" + splitMessage);
// bot.session().send(new ServerboundChatPacket(
// splitMessage,
// Instant.now().toEpochMilli(),