Fix packet id for protocol versions 47 and 69.

This commit is contained in:
Zachy authored and GitHub committed 2018-08-12 22:56:16 +01:00
1 parent e840fab267
commit 0198476fa9
1 file changed
+1 -1
@@ -83,7 +83,7 @@ class ServerDifficultyPacket(Packet):
def get_id(context):
return 0x0D if context.protocol_version >= 332 else \
0x0E if context.protocol_version >= 318 else \
0x0D if context.protocol_version >= 67 else \
0x0D if context.protocol_version >= 70 else \
0x41
packet_name = 'server difficulty'