Add support for Minecraft snapshots 18w03a-18w20c (protocol 354-377).
This commit is contained in:
1 parent
bca783115c
commit
52c0671f4f
4 files changed
+51
-30
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user