fix: possible packet issues

This commit is contained in:
2026-02-16 13:42:03 +08:00
parent d2bec53bb8
commit a885a7eec4
11 changed files with 542 additions and 433 deletions
@@ -7,7 +7,7 @@ type LoginCustomQueryAnswer struct {
MessageID int32 `mc:"VarInt"`
HasData bool
//opt:optional:HasData
Data []byte `mc:"ByteArray"`
Data []byte `mc:"PluginMessageData"`
}
func (*LoginCustomQueryAnswer) PacketID() packetid.ServerboundPacketID {