From fea4169b57410993852f0aac3798e32eeb02de61 Mon Sep 17 00:00:00 2001 From: c0de Date: Tue, 21 Mar 2023 22:19:00 -0500 Subject: [PATCH] play the thisDot song --- src/main/java/dev/c0de/minecraft/client/Module.java | 8 ++++---- .../dev/c0de/minecraft/client/modules/Fullbright.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/dev/c0de/minecraft/client/Module.java b/src/main/java/dev/c0de/minecraft/client/Module.java index 6c0a6ca..e785330 100644 --- a/src/main/java/dev/c0de/minecraft/client/Module.java +++ b/src/main/java/dev/c0de/minecraft/client/Module.java @@ -31,18 +31,18 @@ public abstract class Module { } public KeyBinding getKey() { - return key; + return this.key; } public void toggleKey() { - if (key != null) { - if (key.wasPressed()) { + if (this.key != null) { + if (this.key.wasPressed()) { this.setState(!this.isState()); } } } public boolean isState() { - return state; + return this.state; } } \ No newline at end of file diff --git a/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java b/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java index fd9cc55..b3284f9 100644 --- a/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java +++ b/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java @@ -19,11 +19,11 @@ public class Fullbright extends Module { this.toggleKey(); if (this.isState()) { - update(client, c0deFoxMod.config.getConfig().FULLBRIGHT_GAMMA); + this.update(client, c0deFoxMod.config.getConfig().FULLBRIGHT_GAMMA); return; } - update(client, DEFAULT); + this.update(client, DEFAULT); } private void update(MinecraftClient client, double value) {