Fix packet id for protocol versions 47 and 69.

This commit is contained in:
Zachy 2018-08-12 22:56:16 +01:00 committed by GitHub
parent e840fab267
commit 0198476fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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