From 41253828df7c2066b5df29a32aa8e512f34ad85a Mon Sep 17 00:00:00 2001 From: isxander Date: Mon, 27 May 2024 15:29:56 +0100 Subject: Fix kotlin sourceset not being included due to broken stonecutter --- src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java | 2 +- src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java b/src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java index abe1107..85b86bb 100644 --- a/src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java +++ b/src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java @@ -82,10 +82,10 @@ public class ElementListWidgetExt> exten /*? if >1.20.1 { */ @Override + /*?}*/ protected boolean isValidMouseClick(int button) { return button == InputConstants.MOUSE_BUTTON_LEFT || button == InputConstants.MOUSE_BUTTON_RIGHT; } - /*?}*/ @Override public boolean mouseClicked(double mouseX, double mouseY, int button) { diff --git a/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java b/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java index 0b0d7f2..51f53b3 100644 --- a/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java +++ b/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java @@ -169,7 +169,7 @@ public class OptionListWidget extends ElementListWidgetExt