Add support for Minecraft 1.13.2-pre1, 1.13.2-pre2 and 1.13.2 (protocols 402 to 404).

This commit is contained in:
joo committed 2018-10-26 19:58:20 +01:00
1 parent 48e1003f42
commit 527f3d3146
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ pyCraft is compatible with the following Minecraft releases:
* 1.10, 1.10.1, 1.10.2
* 1.11, 1.11.1, 1.11.2
* 1.12, 1.12.1, 1.12.2
* 1.13, 1.13.1
* 1.13, 1.13.1, 1.13.2
In addition, some development snapshots and pre-release versions are supported:
`<minecraft/__init__.py>`_ contains a full list of supported Minecraft versions
+3
View File
@@ -129,6 +129,9 @@ SUPPORTED_MINECRAFT_VERSIONS = {
'1.13.1-pre1': 399,
'1.13.1-pre2': 400,
'1.13.1': 401,
'1.13.2-pre1': 402,
'1.13.2-pre2': 403,
'1.13.2': 404,
}
SUPPORTED_PROTOCOL_VERSIONS = \
+1 -1
View File
@@ -275,7 +275,7 @@ class FakeClientHandler(object):
return
assert isinstance(packet, serverbound.status.PingPacket)
self.handle_ping(packet)
except FakeServerDisconnect as e:
except FakeServerDisconnect:
pass
def _read_packet_buffer(self):