aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-03-19 20:35:45 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-03-19 20:35:45 +0200
commit3ad84bbe784bf69b70fe793574f1e93fb263d34b (patch)
treecfa29a793e44c1a9d65f58bdec2a01c10a9b1a2b
parenta5156a64e9a618598a82dfa42e60faf0c572a74b (diff)
downloadLibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.tar.gz
LibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.tar.bz2
LibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.zip
Fix compilation
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java2
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);
}
}