Add support for Minecraft 1.9 (protocol 107). Miscellaneous bugfixes.
This commit is contained in:
1 parent
f178df5d8f
commit
d966709204
3 files changed
+72
-21
No files matched your search
@@ -410,7 +410,7 @@ class PlayingReactor(PacketReactor):
|
||||
self.connection.options.compression_enabled = True
|
||||
|
||||
if packet.packet_name == "keep alive":
|
||||
keep_alive_packet = packets.KeepAlivePacket()
|
||||
keep_alive_packet = packets.KeepAlivePacketServerbound()
|
||||
keep_alive_packet.keep_alive_id = packet.keep_alive_id
|
||||
self.connection.write_packet(keep_alive_packet)
|
||||
|
||||
|
||||
Reference in new issue
Block a user