aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-05-30 16:26:37 +1000
committerGitHub <noreply@github.com>2024-05-30 08:26:37 +0200
commit1b45880779262ddfb01c7f18975e4890c4f20511 (patch)
tree45f528f989c95c3c52eb44249bd75143c135efc8 /src/main/java/at/hannibal2/skyhanni
parentbd8c3ac5b05c60e36969406de3f6d9df7601161c (diff)
downloadskyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.tar.gz
skyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.tar.bz2
skyhanni-1b45880779262ddfb01c7f18975e4890c4f20511.zip
Fix: Ct Crash (#1932)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/transformers/gui/MixinGuiScreen.java2
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();