Support v1.15.1

This commit is contained in:
Sillyfrog 2019-12-22 21:24:26 +10:00 committed by Ammar Askar
parent e1afabcba5
commit 51c618aeb5
2 changed files with 1 additions and 1 deletions

View File

@ -198,6 +198,7 @@ SUPPORTED_MINECRAFT_VERSIONS = {
'1.14.4-pre7': 497, '1.14.4-pre7': 497,
'1.14.4': 498, '1.14.4': 498,
'1.15': 573, '1.15': 573,
'1.15.1': 575,
} }
# Those Minecraft versions supported by pyCraft which are "release" versions, # Those Minecraft versions supported by pyCraft which are "release" versions,

View File

@ -642,7 +642,6 @@ class PacketReactor(object):
# If we know the structure of the packet, attempt to parse it # If we know the structure of the packet, attempt to parse it
# otherwise just skip it # otherwise just skip it
if packet_id in self.clientbound_packets: if packet_id in self.clientbound_packets:
# print("XXX packet_id 0x{:02X}".format(packet_id))
packet = self.clientbound_packets[packet_id]() packet = self.clientbound_packets[packet_id]()
packet.context = self.connection.context packet.context = self.connection.context
packet.read(packet_data) packet.read(packet_data)