This commit is contained in:
Zachy24 2018-08-13 00:42:24 +01:00 committed by Zachy24
parent 4ba6a40df6
commit da103c6d3c

View File

@ -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