Skip to content

Commit

Permalink
Change how lore is displayed in los
Browse files Browse the repository at this point in the history
  • Loading branch information
Wembler23 authored Mar 29, 2024
1 parent e5008b0 commit 3002c84
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -656,14 +656,8 @@ private void regenerateItems() {
if (mLore != null && !mLore.isEmpty()) {
((ListVariable)placeholderWrap.getVariable("Lore")).add(ChatColor.WHITE + "Lore:", null);
((ListVariable)bosWrap.getVariable("Lore")).add(ChatColor.WHITE + "Lore:", null);
//This is going to be terrible. Maybe I should just combine them?
for (Component comp : mLore) {
((ListVariable)placeholderWrap.getVariable("Lore")).add(comp.toString(), null);
}
for (Component comp : mLore) {
((ListVariable)bosWrap.getVariable("Lore")).add(comp.toString(), null);
}

//Rather than a giant block of text, two words suffice.
((ListVariable)placeholderWrap.getVariable("Lore")).add("It exists.", null);
}

/* If the item has been modified, list when */
Expand Down

0 comments on commit 3002c84

Please sign in to comment.