diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-19 20:35:45 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-19 20:35:45 +0200 |
commit | 3ad84bbe784bf69b70fe793574f1e93fb263d34b (patch) | |
tree | cfa29a793e44c1a9d65f58bdec2a01c10a9b1a2b /src | |
parent | a5156a64e9a618598a82dfa42e60faf0c572a74b (diff) | |
download | LibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.tar.gz LibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.tar.bz2 LibGui-3ad84bbe784bf69b70fe793574f1e93fb263d34b.zip |
Fix compilation
Diffstat (limited to 'src')
-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); } } |