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

View File

@ -335,7 +335,7 @@ public class EditLoreGUI extends CommonGUI
return new PanelItemBuilder(). return new PanelItemBuilder().
name(name). name(name).
icon(icon). icon(icon).
description(description). description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())).
clickHandler(clickHandler). clickHandler(clickHandler).
glow(false). glow(false).
build(); build();
@ -408,7 +408,7 @@ public class EditLoreGUI extends CommonGUI
return new PanelItemBuilder(). return new PanelItemBuilder().
name(name). name(name).
icon(icon). icon(icon).
description(description). description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())).
clickHandler(clickHandler). clickHandler(clickHandler).
glow(false). glow(false).
build(); build();