Add support for Minecraft snapshots 18w03a-18w20c (protocol 354-377).

This commit is contained in:
joo committed 2018-05-20 06:58:23 +01:00
1 parent bca783115c
commit 52c0671f4f
4 files changed
+51 -30

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ class Packet(object):
self._write_buffer(socket, packet_buffer, compression_threshold)
def __str__(self):
def __repr__(self):
str = type(self).__name__
if self.id is not None:
str = '0x%02X %s' % (self.id, str)