diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-01 12:48:51 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-05-01 12:48:51 +0200 |
commit | 0baf9726703f47a1de4357df11d02905aba5e090 (patch) | |
tree | 6b02aee939ebe2cf0c62c95c1a003ea0714427b3 | |
parent | f03aae672d740f9b6cc5a0713b997b8e842078b4 (diff) | |
download | NotEnoughUpdates-0baf9726703f47a1de4357df11d02905aba5e090.tar.gz NotEnoughUpdates-0baf9726703f47a1de4357df11d02905aba5e090.tar.bz2 NotEnoughUpdates-0baf9726703f47a1de4357df11d02905aba5e090.zip |
Make it compileredirecttomodifyarg
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinGuiContainer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinGuiContainer.java b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinGuiContainer.java index 38de4fd4..b00f49a9 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinGuiContainer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinGuiContainer.java @@ -66,7 +66,7 @@ import org.spongepowered.asm.mixin.injection.callback.LocalCapture; import java.util.Set; -@Mixin(GuiContainer.class, priority=500) +@Mixin(value = GuiContainer.class, priority = 500) public abstract class MixinGuiContainer extends GuiScreen { private static boolean hasProfileViewerStack = false; private static final ItemStack profileViewerStack = Utils.createItemStack( @@ -299,7 +299,8 @@ public abstract class MixinGuiContainer extends GuiScreen { public boolean drawScreen_canBeHovered(Slot slot) { if ((NotEnoughUpdates.INSTANCE.config.improvedSBMenu.hideEmptyPanes && BetterContainers.isOverriding() && BetterContainers.isBlankStack(slot.slotNumber, slot.getStack())) || - slot.getStack() != null && slot.getStack().hasTagCompound() && slot.getStack().getTagCompound().getBoolean("NEUHIDETOOLIP")) { + slot.getStack() != null && + slot.getStack().hasTagCompound() && slot.getStack().getTagCompound().getBoolean("NEUHIDETOOLIP")) { return false; } return slot.canBeHovered(); |