mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-22 18:26:10 +01:00
Support v1.15.1
This commit is contained in:
parent
e1afabcba5
commit
51c618aeb5
@ -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,
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user