From 7aabd65ef6a56e377554c6d765e866d5bd1350ff Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Thu, 27 May 2021 22:21:44 +0300 Subject: CottonHud: migrate to static methods --- .../src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GuiTest/src/main/java') 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") -- cgit