From 3ad8b114942488c9eb0300ed498aafbd6c108ede Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 2 Nov 2024 17:37:09 +0700 Subject: [PATCH] fix: finally fix voicechat --- .../java/me/chayapak1/chomens_bot/plugins/VoiceChatPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/VoiceChatPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/VoiceChatPlugin.java index 503b956..b6df1fa 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/VoiceChatPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/VoiceChatPlugin.java @@ -58,7 +58,7 @@ public class VoiceChatPlugin extends Bot.Listener { bot.session.send(new ServerboundCustomPayloadPacket( Key.key("voicechat:request_secret"), - new FriendlyByteBuf(Unpooled.buffer()).writeInt(17).array() + new FriendlyByteBuf(Unpooled.buffer()).writeInt(18).array() )); bot.session.send(new ServerboundCustomPayloadPacket(