From dd5c77545b42fb64d0bdd54a98fbf596a82c64c7 Mon Sep 17 00:00:00 2001 From: Andrew So Date: Sat, 12 Jun 2021 09:08:56 -0700 Subject: [PATCH] fixed compression typo --- minecraft/networking/packets/clientbound/play/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/networking/packets/clientbound/play/__init__.py b/minecraft/networking/packets/clientbound/play/__init__.py index 347dcaa..dc97455 100644 --- a/minecraft/networking/packets/clientbound/play/__init__.py +++ b/minecraft/networking/packets/clientbound/play/__init__.py @@ -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"