diff options
author | inglettronald <inglettronald@gmail.com> | 2023-01-11 03:33:40 -0600 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-01-11 03:33:40 -0600 |
commit | e5ed23881bd861975f39250f69ff747015e1d4ab (patch) | |
tree | e60805305353803889a4ce978508a11ec7f3d26b /src/main/java/dulkirmod/mixins | |
parent | 65dcbf8dd3220464d6c30b6167ca73ba34109203 (diff) | |
download | DulkirMod-e5ed23881bd861975f39250f69ff747015e1d4ab.tar.gz DulkirMod-e5ed23881bd861975f39250f69ff747015e1d4ab.tar.bz2 DulkirMod-e5ed23881bd861975f39250f69ff747015e1d4ab.zip |
cleanup
Diffstat (limited to 'src/main/java/dulkirmod/mixins')
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinGuiUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dulkirmod/mixins/MixinGuiUtils.java b/src/main/java/dulkirmod/mixins/MixinGuiUtils.java index 414963b..52a6d9b 100644 --- a/src/main/java/dulkirmod/mixins/MixinGuiUtils.java +++ b/src/main/java/dulkirmod/mixins/MixinGuiUtils.java @@ -15,7 +15,7 @@ public class MixinGuiUtils { @Inject(method = "drawHoveringText", at = @At("HEAD"), cancellable = true) private static void drawScaledHoveringText(List<String> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, FontRenderer font, CallbackInfo ci) { - if (ScalableTooltips.INSTANCE.drawScaledHoveringText(textLines, mouseX, mouseY, screenWidth, screenHeight, maxTextWidth, font, ci)) + if (ScalableTooltips.INSTANCE.drawScaledHoveringText(textLines, mouseX, mouseY, screenWidth, screenHeight, font)) ci.cancel(); } } |