Fix issue when Lore GUI buttons were not colored and splitted.

This commit is contained in:
BONNe 2019-09-03 11:14:26 +03:00 committed by BONNe1704
parent f2a4ab5817
commit e854bbd294
1 changed files with 2 additions and 2 deletions

View File

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