Fixed item generation error

This commit is contained in:
Jules 2023-10-22 20:45:48 +02:00
parent 4176ff0b5b
commit 464d4784e5

View File

@ -210,11 +210,12 @@ public class LoreBuilder {
} }
// Apply tooltip bottom // Apply tooltip bottom
if (tooltip != null) if (tooltip != null) {
lore.add(tooltip.getBottom() + effectiveSuffix); lore.add(tooltip.getBottom() + effectiveSuffix);
// Apply tooltip lore header // Apply tooltip lore header
if (tooltip.getLoreHeader() != null) lore.addAll(0, tooltip.getLoreHeader()); if (tooltip.getLoreHeader() != null) lore.addAll(0, tooltip.getLoreHeader());
}
lore.addAll(end); lore.addAll(end);
return lore; return lore;