From 582d998e2e1b3f4cded04ab2f611c7166168193c Mon Sep 17 00:00:00 2001 From: James Seibel Date: Mon, 20 May 2024 22:12:09 -0500 Subject: [PATCH] Fix GuiHelper rename for MC 1.19.4 and below --- .../seibel/distanthorizons/common/wrappers/gui/GuiHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/GuiHelper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/GuiHelper.java index 53b0cebaa..46fe7010d 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/GuiHelper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/GuiHelper.java @@ -18,7 +18,7 @@ public class GuiHelper public static Button MakeBtn(Component base, int posX, int posZ, int width, int height, Button.OnPress action) { #if MC_VER < MC_1_19_4 - return new Button(a, b, c, d, base, action); + return new Button(posX, posZ, width, height, base, action); #else return Button.builder(base, action).bounds(posX, posZ, width, height).build(); #endif