mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Append to existing lore when crafting Flux Pickaxes. Fixes #2557
This commit is contained in:
parent
f4b6d7845e
commit
420559efec
@ -105,7 +105,7 @@ public class SmeltingManager extends SkillManager {
|
|||||||
ItemMeta itemMeta = itemStack.getItemMeta();
|
ItemMeta itemMeta = itemStack.getItemMeta();
|
||||||
itemMeta.setDisplayName(ChatColor.GOLD + LocaleLoader.getString("Item.FluxPickaxe.Name"));
|
itemMeta.setDisplayName(ChatColor.GOLD + LocaleLoader.getString("Item.FluxPickaxe.Name"));
|
||||||
|
|
||||||
List<String> itemLore = new ArrayList<String>();
|
List<String> itemLore = itemMeta.hasLore() ? itemMeta.getLore() : new ArrayList<String>();
|
||||||
itemLore.add("mcMMO Item");
|
itemLore.add("mcMMO Item");
|
||||||
itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.1"));
|
itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.1"));
|
||||||
itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.2", Smelting.fluxMiningUnlockLevel));
|
itemLore.add(LocaleLoader.getString("Item.FluxPickaxe.Lore.2", Smelting.fluxMiningUnlockLevel));
|
||||||
|
Loading…
Reference in New Issue
Block a user