update protocol packet definitions: replace value receivers with pointer receivers in PacketID methods, expand FixedBitSet size from 8 to 256 bits, and remove outdated documentation files
This commit is contained in:
@ -8,7 +8,7 @@ type CustomPayload struct {
|
||||
Data []byte `mc:"ByteArray"`
|
||||
}
|
||||
|
||||
func (CustomPayload) PacketID() packetid.ServerboundPacketID {
|
||||
func (*CustomPayload) PacketID() packetid.ServerboundPacketID {
|
||||
return packetid.ServerboundCustomPayload
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user