From c411b3712c538d7728c49b23b2f9ce622921df05 Mon Sep 17 00:00:00 2001 From: c0de Date: Tue, 21 Mar 2023 21:08:18 -0500 Subject: [PATCH] I'm a dummy --- src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java | 4 ++-- .../java/dev/c0de/minecraft/client/modules/Fullbright.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); }