Fix incorrect packet ID for MapPacket.

This commit is contained in:
joo committed 2017-06-08 06:10:40 +01:00
1 parent 8d1dcec3e2
commit ece5fd903d
1 file changed
+2 -1
+2 -1
View File
@@ -581,7 +581,8 @@ class PlayerListItemPacket(Packet):
class MapPacket(Packet): class MapPacket(Packet):
@staticmethod @staticmethod
def get_id(context): 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 \ 0x24 if context.protocol_version >= 107 else \
0x34 0x34