From 1eb1bbba08d8ce6324be169eaddc8ff8533577e7 Mon Sep 17 00:00:00 2001 From: Chipmunk <65827213+ChipmunkMC@users.noreply.github.com> Date: Mon, 27 Mar 2023 22:51:45 -0400 Subject: [PATCH] actually fix clientside exploits --- src/main/java/land/chipmunk/chipmunkbot/Client.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/land/chipmunk/chipmunkbot/Client.java b/src/main/java/land/chipmunk/chipmunkbot/Client.java index b7911ac..79647d1 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/Client.java +++ b/src/main/java/land/chipmunk/chipmunkbot/Client.java @@ -48,6 +48,7 @@ public class Client { @Override public void packetError (PacketErrorEvent event) { event.getCause().printStackTrace(); + event.setSuppress(true); for (SessionListener listener : listeners) listener.packetError(event); }