diff --git a/src/main/java/dev/stormy/client/module/modules/combat/Backtrack.java b/src/main/java/dev/stormy/client/module/modules/combat/Backtrack.java index 3e932d4..0c72634 100644 --- a/src/main/java/dev/stormy/client/module/modules/combat/Backtrack.java +++ b/src/main/java/dev/stormy/client/module/modules/combat/Backtrack.java @@ -47,6 +47,7 @@ public void packetHandler(RenderHandEvent e) { PacketUtils.handle(timedPacket.packet(), false); return true; } + return false; } catch (Exception ignored) {} return false; }); @@ -59,6 +60,7 @@ public void onEnable() { @Override public void onDisable() { + EventBus.unsubscribe(this); if (PlayerUtils.isPlayerInGame()) { try { incomingPackets.removeIf(timedPacket -> { @@ -68,6 +70,5 @@ public void onDisable() { } catch (Exception ignored) {} } incomingPackets.clear(); - EventBus.unsubscribe(this); } } \ No newline at end of file