Support v1.15.1

This commit is contained in:
Sillyfrog authored and Ammar Askar committed 2019-12-23 21:53:16 -05:00
1 parent e1afabcba5
commit 51c618aeb5
2 files changed
+1 -1

No files matched your search

+1
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,
-1
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)