diff options
author | Maximusbarcz <maxim.baranek@gmail.com> | 2022-12-28 17:22:23 +0100 |
---|---|---|
committer | Maximusbarcz <maxim.baranek@gmail.com> | 2022-12-28 17:22:23 +0100 |
commit | 730ba6e636d952e9730e3b9bbc035c894dfff25b (patch) | |
tree | 68db43f65ab7de762eeb07c015932ccf6af49248 /src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java | |
parent | b1d919ad2ebf0b176953d57edef8e75835c633e3 (diff) | |
download | ygasi-730ba6e636d952e9730e3b9bbc035c894dfff25b.tar.gz ygasi-730ba6e636d952e9730e3b9bbc035c894dfff25b.tar.bz2 ygasi-730ba6e636d952e9730e3b9bbc035c894dfff25b.zip |
Added all the advancements! (other than extra)
Diffstat (limited to 'src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java')
-rw-r--r-- | src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java b/src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java index d2be67e..dc5e5e7 100644 --- a/src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java +++ b/src/main/java/dev/mayaqq/ygasi/gui/DruidryGui.java @@ -1,6 +1,6 @@ package dev.mayaqq.ygasi.gui; -import dev.mayaqq.ygasi.util.GetAdvancementProgress; +import dev.mayaqq.ygasi.util.YgasiUtils; import eu.pb4.sgui.api.elements.GuiElementBuilder; import net.minecraft.item.Items; import net.minecraft.screen.ScreenHandlerType; @@ -13,7 +13,7 @@ import static dev.mayaqq.ygasi.registry.StatRegistry.SKILL_POINTS; public class DruidryGui { public static void gui(ServerPlayerEntity player) { try { - if (!GetAdvancementProgress.get(player, "druidry")) { + if (!YgasiUtils.getAdvancementProgress(player, "druidry")) { player.sendMessage(Text.of("§cYou have not unlocked this branch yet!"), false); BranchGui.gui(player); } else { |