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();