From cc799c0a7e62ff8cffa50976dab44c9441ca8d38 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:30:56 +0100 Subject: [PATCH] fix: Fix crash when opening crafting screen #209 --- .../net/blay09/mods/craftingtweaks/client/GuiTweakButton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/main/java/net/blay09/mods/craftingtweaks/client/GuiTweakButton.java b/shared/src/main/java/net/blay09/mods/craftingtweaks/client/GuiTweakButton.java index d7e0c29..fadb8ca 100644 --- a/shared/src/main/java/net/blay09/mods/craftingtweaks/client/GuiTweakButton.java +++ b/shared/src/main/java/net/blay09/mods/craftingtweaks/client/GuiTweakButton.java @@ -79,7 +79,7 @@ public void renderWidget(GuiGraphics guiGraphics, int mouseX, int mouseY, float properties = normalProperties; } - super.render(guiGraphics, mouseX, mouseY, partialTicks); + super.renderWidget(guiGraphics, mouseX, mouseY, partialTicks); } private Tooltip createTooltip(TweakType tweak) {