fixed compression typo

This commit is contained in:
Andrew So committed 2021-06-12 09:08:56 -07:00
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.
@staticmethod
def get_id(context):
return 0x02 if context.protocol_later_eq(755) else \
return 0x03 if context.protocol_later_eq(755) else \
0x46
packet_name = "set compression"