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