fix(module): allow NameProtect to be disabled (#38)

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.
This commit is contained in:
Shirona1337
2026-05-31 16:32:52 +08:00
parent 4958f6694c
commit 9ad6a6b70c
@@ -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);