Add support for v1.15
This commit is contained in:
1 parent
6f2f25656c
commit
e1afabcba5
12 files changed
+50
-23
No files matched your search
@@ -9,7 +9,8 @@ __all__ = 'SoundEffectPacket',
|
||||
class SoundEffectPacket(Packet):
|
||||
@staticmethod
|
||||
def get_id(context):
|
||||
return 0x51 if context.protocol_version >= 471 else \
|
||||
return 0x52 if context.protocol_version >= 573 else \
|
||||
0x51 if context.protocol_version >= 471 else \
|
||||
0x4D if context.protocol_version >= 461 else \
|
||||
0x4E if context.protocol_version >= 451 else \
|
||||
0x4E if context.protocol_version >= 451 else \
|
||||
|
||||
Reference in new issue
Block a user