diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 08:11:11 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 08:11:11 +0200 |
commit | 31fbb9b41c7c3964b46a447c415bfc363fc22c5d (patch) | |
tree | 2182554912c2321134d1075f37b1e3e54b28758c /src/main | |
parent | fdc2ab3e7b318f895b4f297b76ce19337a1f995f (diff) | |
download | skyhanni-31fbb9b41c7c3964b46a447c415bfc363fc22c5d.tar.gz skyhanni-31fbb9b41c7c3964b46a447c415bfc363fc22c5d.tar.bz2 skyhanni-31fbb9b41c7c3964b46a447c415bfc363fc22c5d.zip |
Revert "Prettified Code!"
This reverts commit bafa2b4c
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java b/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java index a0cf8fdbe..c9dc12fc5 100644 --- a/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java +++ b/src/main/java/at/lorenz/mod/mixins/MixinGuiContainer.java @@ -41,8 +41,10 @@ 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); } + } |