diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-05-27 22:21:44 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-05-27 22:21:44 +0300 |
commit | 7aabd65ef6a56e377554c6d765e866d5bd1350ff (patch) | |
tree | 5bc626f8118e493849fbb2f07c38ec7c6ebd9f85 /GuiTest/src/main/java | |
parent | 76ae542e0d791afbd8a581379d328fa91a3339ca (diff) | |
download | LibGui-7aabd65ef6a56e377554c6d765e866d5bd1350ff.tar.gz LibGui-7aabd65ef6a56e377554c6d765e866d5bd1350ff.tar.bz2 LibGui-7aabd65ef6a56e377554c6d765e866d5bd1350ff.zip |
CottonHud: migrate to static methods
Diffstat (limited to 'GuiTest/src/main/java')
-rw-r--r-- | GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java | 2 |
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 1780808..5fbc4b0 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 @@ -22,7 +22,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); ClientCommandManager.DISPATCHER.register( literal("libgui") |