From f6f65117881a8132bff1d4846e41420508a23fc4 Mon Sep 17 00:00:00 2001 From: joo Date: Thu, 19 Jul 2018 12:21:49 +0100 Subject: [PATCH] Remove dead code from connection.py. --- minecraft/networking/connection.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/minecraft/networking/connection.py b/minecraft/networking/connection.py index 1dfaef4..4a40da7 100644 --- a/minecraft/networking/connection.py +++ b/minecraft/networking/connection.py @@ -645,12 +645,6 @@ class LoginReactor(PacketReactor): serverbound.login.PluginResponsePacket( 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): get_clientbound_packets = staticmethod(clientbound.play.get_packets)