refactor: \0

This commit is contained in:
ChomeNS
2025-03-09 17:50:09 +07:00
parent f24258ccf2
commit d11eb4d0f6
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ public class ExtrasMessengerPlugin extends Bot.Listener {
bot.session.send(
new ServerboundCustomPayloadPacket(
Key.key("minecraft", "register"),
String.join("\u0000", channels).getBytes(StandardCharsets.UTF_8)
String.join("\0", channels).getBytes(StandardCharsets.UTF_8)
)
);