fixed bugs, memory leaks, etc

This commit is contained in:
bbldrizzy committed 2026-10-23 08:36:42 +01:00
1 parent aa4f6b6ddc
commit c3f8f23c1d
124 files changed
+1060 -420

No files matched your search

@@ -31,7 +31,7 @@ public class AutoPot extends Module {
@Subscribe
public void onClientTick(ClientTickEvent event) {
if (mc.currentScreen == null && mc.isWindowFocused()) {
if (mc.player != null && mc.currentScreen == null && mc.isWindowFocused()) {
boolean autoMode = this.mode.getValue().equals("Auto");
if (autoMode && mc.player.getHealth() > this.health.getValue()) {
this.throwTimer.reset();