diff options
Diffstat (limited to 'src/main/java/dulkirmod/mixins/MixinGuiContainer.java')
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinGuiContainer.java | 2 |
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 2b9b070..4a50163 100644 --- a/src/main/java/dulkirmod/mixins/MixinGuiContainer.java +++ b/src/main/java/dulkirmod/mixins/MixinGuiContainer.java @@ -16,7 +16,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(GuiContainer.class) public abstract class MixinGuiContainer extends GuiScreen { - @Inject(at = @At("HEAD"), method = "drawSlot", cancellable = true) + @Inject(method="drawSlot", at=@At("HEAD"), cancellable = true) public void drawSlot(Slot slotIn, CallbackInfo ci) { if (Croesus.Companion.inCroesus() && Croesus.Companion.isChestOpened(slotIn)) { ci.cancel(); |