Fix packet id for protocol versions 47 and 69.
This commit is contained in:
1 parent
e840fab267
commit
0198476fa9
1 file changed
+1
-1
@@ -83,7 +83,7 @@ class ServerDifficultyPacket(Packet):
|
|||||||
def get_id(context):
|
def get_id(context):
|
||||||
return 0x0D if context.protocol_version >= 332 else \
|
return 0x0D if context.protocol_version >= 332 else \
|
||||||
0x0E if context.protocol_version >= 318 else \
|
0x0E if context.protocol_version >= 318 else \
|
||||||
0x0D if context.protocol_version >= 67 else \
|
0x0D if context.protocol_version >= 70 else \
|
||||||
0x41
|
0x41
|
||||||
|
|
||||||
packet_name = 'server difficulty'
|
packet_name = 'server difficulty'
|
||||||
|
|||||||
Reference in new issue
Block a user