repo.or.cz
/
pyCraft.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
317f3e6
)
lint: W293
author
jyooru
<
[email protected]
>
Mon, 5 Jul 2021 05:56:37 +0000
(5 15:56 +1000)
committer
jyooru
<
[email protected]
>
Mon, 5 Jul 2021 05:56:37 +0000
(5 15:56 +1000)
minecraft/networking/packets/clientbound/play/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/minecraft/networking/packets/clientbound/play/__init__.py
b/minecraft/networking/packets/clientbound/play/__init__.py
index
a186f4e
..
ce8d740
100644
(file)
--- a/
minecraft/networking/packets/clientbound/play/__init__.py
+++ b/
minecraft/networking/packets/clientbound/play/__init__.py
@@
-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}]