fixed compression typo
This commit is contained in:
1 parent
6400602625
commit
dd5c77545b
1 file changed
+1
-1
@@ -148,7 +148,7 @@ class SetCompressionPacket(Packet):
|
|||||||
# Note: removed between protocol versions 47 and 107.
|
# Note: removed between protocol versions 47 and 107.
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_id(context):
|
def get_id(context):
|
||||||
return 0x02 if context.protocol_later_eq(755) else \
|
return 0x03 if context.protocol_later_eq(755) else \
|
||||||
0x46
|
0x46
|
||||||
|
|
||||||
packet_name = "set compression"
|
packet_name = "set compression"
|
||||||
|
|||||||
Reference in new issue
Block a user