Remove dead code from connection.py.
This commit is contained in:
1 parent
adc8d15ddc
commit
f6f6511788
1 file changed
-6
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user