From 51c618aeb522c2b8fcf962e545eb827b1d98b966 Mon Sep 17 00:00:00 2001 From: Sillyfrog Date: Sun, 22 Dec 2019 21:24:26 +1000 Subject: [PATCH] Support v1.15.1 --- minecraft/__init__.py | 1 + minecraft/networking/connection.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/__init__.py b/minecraft/__init__.py index e2f64da..826cc12 100644 --- a/minecraft/__init__.py +++ b/minecraft/__init__.py @@ -198,6 +198,7 @@ SUPPORTED_MINECRAFT_VERSIONS = { '1.14.4-pre7': 497, '1.14.4': 498, '1.15': 573, + '1.15.1': 575, } # Those Minecraft versions supported by pyCraft which are "release" versions, diff --git a/minecraft/networking/connection.py b/minecraft/networking/connection.py index 23770c0..f696743 100644 --- a/minecraft/networking/connection.py +++ b/minecraft/networking/connection.py @@ -642,7 +642,6 @@ class PacketReactor(object): # If we know the structure of the packet, attempt to parse it # otherwise just skip it if packet_id in self.clientbound_packets: - # print("XXX packet_id 0x{:02X}".format(packet_id)) packet = self.clientbound_packets[packet_id]() packet.context = self.connection.context packet.read(packet_data)