From 420559efecdfc2de00cd028eab1ac8e96f0e40fb Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Thu, 12 Nov 2015 19:13:27 -0500 Subject: [PATCH] Append to existing lore when crafting Flux Pickaxes. Fixes #2557 --- .../java/com/gmail/nossr50/skills/smelting/SmeltingManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/smelting/SmeltingManager.java b/src/main/java/com/gmail/nossr50/skills/smelting/SmeltingManager.java index a38fa7daa..839ca050a 100644 --- a/src/main/java/com/gmail/nossr50/skills/smelting/SmeltingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/smelting/SmeltingManager.java @@ -105,7 +105,7 @@ public class SmeltingManager extends SkillManager { ItemMeta itemMeta = itemStack.getItemMeta(); itemMeta.setDisplayName(ChatColor.GOLD + LocaleLoader.getString("Item.FluxPickaxe.Name")); - List itemLore = new ArrayList(); + List itemLore = itemMeta.hasLore() ? itemMeta.getLore() : new ArrayList(); itemLore.add("mcMMO Item"); itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.1")); itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.2", Smelting.fluxMiningUnlockLevel));