From 127f253a82d3acbfd0e635870e0e83b073bf3271 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Sat, 13 Nov 2021 16:47:45 -0600 Subject: [PATCH] Remove test code --- .../com/github/steveice10/mc/protocol/ServerListener.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java b/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java index b3d72f7b..878adafb 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java +++ b/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java @@ -25,7 +25,6 @@ import com.github.steveice10.mc.protocol.packet.status.serverbound.ServerboundSt import com.github.steveice10.packetlib.Session; import com.github.steveice10.packetlib.event.session.ConnectedEvent; import com.github.steveice10.packetlib.event.session.DisconnectingEvent; -import com.github.steveice10.packetlib.event.session.PacketErrorEvent; import com.github.steveice10.packetlib.event.session.PacketReceivedEvent; import com.github.steveice10.packetlib.event.session.PacketSentEvent; import com.github.steveice10.packetlib.event.session.SessionAdapter; @@ -182,11 +181,6 @@ public class ServerListener extends SessionAdapter { } } - @Override - public void packetError(PacketErrorEvent event) { - event.getCause().printStackTrace(); - } - private class UserAuthTask implements Runnable { private Session session; private SecretKey key;