diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-05-30 16:26:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 08:26:37 +0200 |
commit | 1b45880779262ddfb01c7f18975e4890c4f20511 (patch) | |
tree | 45f528f989c95c3c52eb44249bd75143c135efc8 /src | |
parent | bd8c3ac5b05c60e36969406de3f6d9df7601161c (diff) | |
download | skyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.tar.gz skyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.tar.bz2 skyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.zip |
Fix: Ct Crash (#1932)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java index dee6be23e..b14d225cf 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java +++ b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java @@ -21,7 +21,7 @@ public class MixinGuiScreen { } @Inject(method = "renderToolTip", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;getRarity()Lnet/minecraft/item/EnumRarity;", shift = At.Shift.AFTER), locals = LocalCapture.CAPTURE_FAILHARD, cancellable = true) - public void getTooltip(ItemStack stack, int x, int y, CallbackInfo ci, List<String> list, int i) { + public void getTooltip(ItemStack stack, int x, int y, CallbackInfo ci, List<String> list) { ToolTipData.getTooltip(stack, list); if (list.isEmpty()) { ci.cancel(); |