From 56d1300db1ce73ca25f3a0cff4b26fe51194fccf Mon Sep 17 00:00:00 2001 From: Amund Eggen Svandal Date: Sun, 13 Jan 2019 22:06:39 +0000 Subject: [PATCH] Updated id of UseItemPacket --- minecraft/networking/packets/serverbound/play/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/minecraft/networking/packets/serverbound/play/__init__.py b/minecraft/networking/packets/serverbound/play/__init__.py index 01159d5..9c7940f 100644 --- a/minecraft/networking/packets/serverbound/play/__init__.py +++ b/minecraft/networking/packets/serverbound/play/__init__.py @@ -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: [