From ee0c98ee5173e49ac33c2acffcfae6b19357fcb4 Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 10 Jan 2024 02:01:26 -0700 Subject: [PATCH] Fix compile error --- .../java/dev/zontreck/libzontreck/commands/CreditsCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java b/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java index 10b5943..00aa67b 100644 --- a/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java +++ b/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java @@ -6,6 +6,7 @@ import com.mojang.brigadier.CommandDispatcher; import dev.zontreck.libzontreck.LibZontreck; import dev.zontreck.libzontreck.chestgui.ChestGUI; import dev.zontreck.libzontreck.chestgui.ChestGUIButton; +import dev.zontreck.libzontreck.chestgui.ChestGUIIdentifier; import dev.zontreck.libzontreck.networking.ModMessages; import dev.zontreck.libzontreck.networking.packets.S2CCloseChestGUI; import dev.zontreck.libzontreck.util.heads.CreditsEntry; @@ -27,7 +28,7 @@ public class CreditsCommand { if(source.getEntity() instanceof Player) { // OK. - ChestGUI gui = ChestGUI.builder().withGUIId(new ResourceLocation("ariasmods", "creditsgui")).withPlayer(source.getEntity().getUUID()).withTitle("Aria's Mods - Credits"); + ChestGUI gui = ChestGUI.builder().withGUIId(new ChestGUIIdentifier("creditsgui")).withPlayer(source.getEntity().getUUID()).withTitle("Aria's Mods - Credits"); int x = 0; int y = 0;