update to 1.17.1 and minor fixes

This commit is contained in:
Andrew So committed 2021-12-10 14:53:18 -08:00
1 parent 99a97df753
commit c04e831e19
5 files changed
+12 -8

No files matched your search

@@ -150,7 +150,7 @@ class SetCompressionPacket(Packet):
def get_id(context):
return 0x03 if context.protocol_later_eq(755) else \
0x46
packet_name = "set compression"
definition = [
{'threshold': VarInt}]
@@ -374,7 +374,6 @@ class EntityLookPacket(Packet):
{'on_ground': Boolean}
]
class ResourcePackSendPacket(Packet):
@staticmethod
def get_id(context):
@@ -384,5 +383,7 @@ class ResourcePackSendPacket(Packet):
packet_name = "resource pack send"
definition = [
{"url": String},
{"hash": String}
]
{"hash": String},
{"forced": Boolean},
{"forced_message": String}
]