From 0198476fa97c803a86987a954f96e40d9784b215 Mon Sep 17 00:00:00 2001 From: Zachy Date: Sun, 12 Aug 2018 22:56:16 +0100 Subject: [PATCH] Fix packet id for protocol versions 47 and 69. --- 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 ba24110..27e5378 100644 --- a/minecraft/networking/packets/clientbound/play/__init__.py +++ b/minecraft/networking/packets/clientbound/play/__init__.py @@ -83,7 +83,7 @@ class ServerDifficultyPacket(Packet): def get_id(context): return 0x0D if context.protocol_version >= 332 else \ 0x0E if context.protocol_version >= 318 else \ - 0x0D if context.protocol_version >= 67 else \ + 0x0D if context.protocol_version >= 70 else \ 0x41 packet_name = 'server difficulty'