From 9ad6a6b70c94afd7d82472b3420979dcc600b43c Mon Sep 17 00:00:00 2001 From: Shirona1337 Date: Sun, 31 May 2026 16:32:52 +0800 Subject: [PATCH] fix(module): allow NameProtect to be disabled (#38) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the onDisable override that immediately re-enabled the module — left-clicking the entry in the ClickGui now actually turns it off. The constructor still defaults the module on, so the protection is opt-out rather than opt-in. --- src/main/java/shit/zen/modules/impl/render/NameProtect.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/shit/zen/modules/impl/render/NameProtect.java b/src/main/java/shit/zen/modules/impl/render/NameProtect.java index b04d2df..b246d38 100644 --- a/src/main/java/shit/zen/modules/impl/render/NameProtect.java +++ b/src/main/java/shit/zen/modules/impl/render/NameProtect.java @@ -20,11 +20,6 @@ extends Module { private String cachedRandomName = null; private final Random random = new Random(); - @Override - protected void onDisable() { - this.setEnabled(true); - } - public NameProtect() { super("NameProtect", Category.RENDER); this.setEnabled(true);