Skip to content

Commit

Permalink
Fix issue when Lore GUI buttons were not colored and splitted.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Sep 3, 2019
1 parent f2a4ab5 commit e854bbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private PanelItem getChallengeLoreButton(String loreElement)
return new PanelItemBuilder().
name(name).
icon(icon).
description(description).
description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())).
clickHandler(clickHandler).
glow(false).
build();
Expand Down Expand Up @@ -408,7 +408,7 @@ private PanelItem getLevelLoreButton(String loreElement)
return new PanelItemBuilder().
name(name).
icon(icon).
description(description).
description(GuiUtils.stringSplit(description, this.addon.getChallengesSettings().getLoreLineLength())).
clickHandler(clickHandler).
glow(false).
build();
Expand Down

0 comments on commit e854bbd

Please sign in to comment.