From e854bbd2947312adaccdfebf7a82f0324f97681d Mon Sep 17 00:00:00 2001 From: BONNe Date: Tue, 3 Sep 2019 11:14:26 +0300 Subject: [PATCH] Fix issue when Lore GUI buttons were not colored and splitted. --- .../world/bentobox/challenges/panel/admin/EditLoreGUI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/challenges/panel/admin/EditLoreGUI.java b/src/main/java/world/bentobox/challenges/panel/admin/EditLoreGUI.java index 4da8c35..1f53843 100644 --- a/src/main/java/world/bentobox/challenges/panel/admin/EditLoreGUI.java +++ b/src/main/java/world/bentobox/challenges/panel/admin/EditLoreGUI.java @@ -335,7 +335,7 @@ public class EditLoreGUI extends CommonGUI return new PanelItemBuilder(). name(name). icon(icon). - description(description). + description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())). clickHandler(clickHandler). glow(false). build(); @@ -408,7 +408,7 @@ public class EditLoreGUI extends CommonGUI return new PanelItemBuilder(). name(name). icon(icon). - description(description). + description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())). clickHandler(clickHandler). glow(false). build();