From da103c6d3cdc438f1b99bb4a95597f4ae8e1925a Mon Sep 17 00:00:00 2001 From: Zachy24 Date: Mon, 13 Aug 2018 00:42:24 +0100 Subject: [PATCH] Oops --- 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 5269217..e417a86 100644 --- a/minecraft/networking/packets/clientbound/play/__init__.py +++ b/minecraft/networking/packets/clientbound/play/__init__.py @@ -97,7 +97,7 @@ class ServerDifficultyPacket(Packet): packet_name = 'server difficulty' get_definition = staticmethod(lambda context: [ - {'difficulty_enum': UnsignedByte} + {'difficulty': UnsignedByte} ]) # ServerDifficultyPacket.Difficulty is an alias for Difficulty