diff --git a/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java b/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java index 9f656c1..da4bfe1 100644 --- a/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java +++ b/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java @@ -18,7 +18,7 @@ public class c0deFoxModClient implements ClientModInitializer { private static c0deFoxModClient self; - Module fullbright; + private static Fullbright fullbright; @Override public void onInitializeClient() { @@ -37,7 +37,7 @@ public class c0deFoxModClient implements ClientModInitializer { // Called on every game tick public void tick(MinecraftClient client) { - this.fullbright.onTick(client); + fullbright.onTick(client); } } 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 d143383..81ee651 100644 --- a/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java +++ b/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java @@ -11,7 +11,7 @@ import org.lwjgl.glfw.GLFW; public class Fullbright extends Module { double DEFAULT = 1.0; - public void FullBright() { + public Fullbright() { this.registerKey("key.c0defox.fullbright", GLFW.GLFW_KEY_B, "key.categories.c0defox"); }