diff options
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java index 64a7c3e..f8b83a4 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java @@ -98,7 +98,7 @@ public class WText extends WWidget { Text hoveredText = getTextAt(x, y); if (hoveredText != null) { - MinecraftClient.getInstance().currentScreen.handleTextClick(hoveredText); + MinecraftClient.getInstance().currentScreen.handleComponentClicked(hoveredText); } } |