aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src/main
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-11-26 22:32:12 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-11-26 22:32:12 +0200
commita43a1123fdcd88eb49276cc523713d1204215891 (patch)
tree402e75166ae3ab70e9ddb96cd4d6d93d5ea75596 /GuiTest/src/main
parent5a2b3336017ff807ba2a0179ff07f7812ae0c6b4 (diff)
downloadLibGui-a43a1123fdcd88eb49276cc523713d1204215891.tar.gz
LibGui-a43a1123fdcd88eb49276cc523713d1204215891.tar.bz2
LibGui-a43a1123fdcd88eb49276cc523713d1204215891.zip
Switch CottonHud to use static methods
Diffstat (limited to 'GuiTest/src/main')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
index 65efe75..22a1bb8 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
@@ -16,7 +16,7 @@ public class LibGuiTestClient implements ClientModInitializer {
(desc, inventory, title) -> new CottonInventoryScreen<>(desc, inventory.player, title)
);
- CottonHud.INSTANCE.add(new WHudTest(), 10, -20, 10, 10);
+ CottonHud.add(new WHudTest(), 10, -20, 10, 10);
}
}