refactor: move minecraft:brand custom payload to the Bot class
This commit is contained in:
@@ -51,10 +51,6 @@ public class VoiceChatPlugin extends Bot.Listener {
|
||||
|
||||
public void packetReceived(ClientboundLoginPacket ignored) {
|
||||
// totally didn't use a real minecraft client with voicechat mod to get this
|
||||
bot.session.send(new ServerboundCustomPayloadPacket(
|
||||
Key.key("minecraft:brand"),
|
||||
"\u0006fabric".getBytes() // should i use fabric here?
|
||||
));
|
||||
|
||||
bot.session.send(new ServerboundCustomPayloadPacket(
|
||||
Key.key("voicechat:request_secret"),
|
||||
|
||||
Reference in New Issue
Block a user