From 9ffac8b8060d3cba57edee49f465f8eeae164acf Mon Sep 17 00:00:00 2001 From: Marcel Konrad Date: Tue, 17 Sep 2019 22:47:48 +0200 Subject: [PATCH] Update reference --- .../java/exopandora/worldhandler/gui/button/GuiButtonList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/exopandora/worldhandler/gui/button/GuiButtonList.java b/src/main/java/exopandora/worldhandler/gui/button/GuiButtonList.java index 85c8a8b..9d87742 100644 --- a/src/main/java/exopandora/worldhandler/gui/button/GuiButtonList.java +++ b/src/main/java/exopandora/worldhandler/gui/button/GuiButtonList.java @@ -43,7 +43,7 @@ public class GuiButtonList extends GuiButtonTooltip int maxWidth = Math.max(0, this.width - fontRenderer.getStringWidth("< >")); int spaceWidth = fontRenderer.getStringWidth(" "); - String display = exopandora.worldhandler.format.TextFormatting.shortenString(this.getMessage(), maxWidth, fontRenderer); + String display = exopandora.worldhandler.text.TextFormatting.shortenString(this.getMessage(), maxWidth, fontRenderer); int yPos = this.y + (this.height - 8) / 2; this.drawCenteredString(fontRenderer, display, this.x + this.width / 2, yPos, this.getFGColor());