From 3ad84bbe784bf69b70fe793574f1e93fb263d34b Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 19 Mar 2020 20:35:45 +0200 Subject: Fix compilation --- src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit