From 00e5acfde335f35bc3a7a3d176d43b57b96750c8 Mon Sep 17 00:00:00 2001 From: Chipmunk <65827213+ChipmunkMC@users.noreply.github.com> Date: Fri, 28 Apr 2023 23:13:34 -0400 Subject: [PATCH] real totallynotskidded:tm: from chayapak --- src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java b/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java index 2595fc2..d740047 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java +++ b/src/main/java/land/chipmunk/chipmunkbot/plugins/ChatPlugin.java @@ -43,7 +43,7 @@ public class ChatPlugin extends SessionAdapter { } public void message (String message) { - final ServerboundChatPacket packet = new ServerboundChatPacket(message, Instant.now().toEpochMilli(), 0, new byte[0], 0, new BitSet()); + final ServerboundChatPacket packet = new ServerboundChatPacket(message, Instant.now().toEpochMilli(), 0, null, 0, new BitSet()); client.session().send(packet); }