Updated id of UseItemPacket

This commit is contained in:
Amund Eggen Svandal 2019-01-13 22:06:39 +00:00
parent bea661860d
commit 56d1300db1

View File

@ -209,7 +209,9 @@ class UseItemPacket(Packet):
0x1F if context.protocol_version >= 343 else \
0x20 if context.protocol_version >= 332 else \
0x1F if context.protocol_version >= 318 else \
0x1D
0x1D if context.protocol_version >= 94 else \
0x1A if context.protocol_version >= 70 else \
0x08
packet_name = "use item"
get_definition = staticmethod(lambda context: [