mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-12-23 09:08:36 +01:00
Fix packet id for protocol versions 47 and 69.
This commit is contained in:
parent
e840fab267
commit
0198476fa9
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user