Add support for Minecraft 1.9 (protocol 107). Miscellaneous bugfixes.

This commit is contained in:
joo committed 2016-03-07 06:22:42 +00:00
1 parent f178df5d8f
commit d966709204
3 files changed
+72 -21

No files matched your search

+1 -1
View File
@@ -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)