From e303ac6323e523a60f37a61afadc64a8e23c0aaf Mon Sep 17 00:00:00 2001 From: hannibal00212 Date: Thu, 7 Jul 2022 20:28:20 +0000 Subject: Prettified Code! --- src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/at/lorenz') diff --git a/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java b/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java index c9dc12fc5..a0cf8fdbe 100644 --- a/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java +++ b/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java @@ -41,10 +41,8 @@ public abstract class MixinGuiContainer extends GuiScreen { hook.onDrawSlotPost(slot, ci); } - @Inject(method = "handleMouseClick", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/multiplayer/PlayerControllerMP;windowClick(IIIILnet/minecraft/entity/player/EntityPlayer;)Lnet/minecraft/item/ItemStack;"), cancellable = true) private void onMouseClick(Slot slot, int slotId, int clickedButton, int clickType, CallbackInfo ci) { hook.onMouseClick(slot, slotId, clickedButton, clickType, ci); } - } -- cgit