mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-27 09:12:09 +01:00
Remove dead code from connection.py.
This commit is contained in:
parent
adc8d15ddc
commit
f6f6511788
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user