aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorIlmarsXd <ilmars500@gmail.com>2023-03-21 18:27:13 +0200
committerIlmarsXd <ilmars500@gmail.com>2023-03-21 18:27:13 +0200
commitf520f4bceee9243d585cc0146123c92981d90019 (patch)
tree48ef87f9ac733a1a24abbc5b961c86305866fef4 /src/main/java
parent00b04cb86e6f1ab2aa0cdf85a43a5bd32cea6a8d (diff)
downloadDulkirMod-f520f4bceee9243d585cc0146123c92981d90019.tar.gz
DulkirMod-f520f4bceee9243d585cc0146123c92981d90019.tar.bz2
DulkirMod-f520f4bceee9243d585cc0146123c92981d90019.zip
remove jvmfield/jvmstatic
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/dulkirmod/mixins/MixinGuiContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dulkirmod/mixins/MixinGuiContainer.java b/src/main/java/dulkirmod/mixins/MixinGuiContainer.java
index ac79168..97a4341 100644
--- a/src/main/java/dulkirmod/mixins/MixinGuiContainer.java
+++ b/src/main/java/dulkirmod/mixins/MixinGuiContainer.java
@@ -22,7 +22,7 @@ public abstract class MixinGuiContainer extends GuiScreen {
if (Croesus.inCroesus() && Croesus.isChestOpened(slotIn)) {
ci.cancel();
}
- if (DungeonLeap.inLeapMenu && DungeonLeap.isHighlightedLeapPlayer(slotIn)) {
+ if (DungeonLeap.INSTANCE.getInLeapMenu() && DungeonLeap.INSTANCE.isHighlightedLeapPlayer(slotIn)) {
ci.cancel();
ItemStack stack = new ItemStack(Blocks.wool, 1, EnumDyeColor.GREEN.getMetadata());