aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-08 19:09:36 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-08 19:09:36 +0300
commiteacd3d2b110d3e3536ca50df489490b30484f8d7 (patch)
tree4b86b17e99f654804568a9248a5f806d0b10d4d4
parent6c91649d223aeee29204ed8d71b8ee1a7072e1ec (diff)
downloadLibGui-eacd3d2b110d3e3536ca50df489490b30484f8d7.tar.gz
LibGui-eacd3d2b110d3e3536ca50df489490b30484f8d7.tar.bz2
LibGui-eacd3d2b110d3e3536ca50df489490b30484f8d7.zip
Remove deprecated addInformation
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
index a2242b2..91d4a98 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
@@ -9,7 +9,6 @@ import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.Screen;
-import net.minecraft.text.LiteralText;
import net.minecraft.text.Text;
import javax.annotation.Nullable;
@@ -313,12 +312,6 @@ public class WWidget {
List<Text> info = new ArrayList<>();
addTooltip(info);
- List<String> stringInfo = new ArrayList<>();
- addInformation(stringInfo);
- for (String line : stringInfo) {
- info.add(new LiteralText(line));
- }
-
if (info.size() == 0)
return;
@@ -333,15 +326,6 @@ public class WWidget {
public void validate(GuiDescription host) {
//valid = true;
}
-
- /**
- * Adds information to this widget's tooltip. If information remains empty after this call, no tooltip will be drawn.
- * @param information List containing all previous tooltip data.
- * @deprecated Replaced with {@link #addTooltip(List)}
- */
- @Deprecated
- public void addInformation(List<String> information) {
- }
/**
* Adds lines to this widget's tooltip. If the lines remain empty after this call, no tooltip will be drawn.