Remove dead code from connection.py.

This commit is contained in:
joo committed 2018-07-19 12:21:49 +01:00
1 parent adc8d15ddc
commit f6f6511788
1 file changed
-6
-6
View File
@@ -645,12 +645,6 @@ class LoginReactor(PacketReactor):
serverbound.login.PluginResponsePacket( serverbound.login.PluginResponsePacket(
message_id=packet.message_id, successful=False)) message_id=packet.message_id, successful=False))
def react_not_handled(self, packet):
if packet.name == "login plugin request":
self.connection.write_packet(
serverbound.login.PluginResponsePacket(
message_id=packet.message_id, successful=False))
class PlayingReactor(PacketReactor): class PlayingReactor(PacketReactor):
get_clientbound_packets = staticmethod(clientbound.play.get_packets) get_clientbound_packets = staticmethod(clientbound.play.get_packets)