Fix incorrect packet ID for MapPacket.
This commit is contained in:
1 parent
8d1dcec3e2
commit
ece5fd903d
1 file changed
+2
-1
@@ -581,7 +581,8 @@ class PlayerListItemPacket(Packet):
|
||||
class MapPacket(Packet):
|
||||
@staticmethod
|
||||
def get_id(context):
|
||||
return 0x25 if context.protocol_version >= 318 else \
|
||||
return 0x24 if context.protocol_version >= 334 else \
|
||||
0x25 if context.protocol_version >= 318 else \
|
||||
0x24 if context.protocol_version >= 107 else \
|
||||
0x34
|
||||
|
||||
|
||||
Reference in new issue
Block a user