From 77abeb3382cddca912633b7a5e325e98dbc12bf9 Mon Sep 17 00:00:00 2001 From: Wembler23 <62161570+Wembler23@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:20:21 -0700 Subject: [PATCH] Change how lore is displayed in los Only for when grabbing the mob/the bos. The lore still exists, this just makes it possible to see things again. --- .../playmonumenta/libraryofsouls/SoulHistoryEntry.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/playmonumenta/libraryofsouls/SoulHistoryEntry.java b/src/main/java/com/playmonumenta/libraryofsouls/SoulHistoryEntry.java index 7b0856e..19f975d 100644 --- a/src/main/java/com/playmonumenta/libraryofsouls/SoulHistoryEntry.java +++ b/src/main/java/com/playmonumenta/libraryofsouls/SoulHistoryEntry.java @@ -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 */