Fixes lore lines being removed when taking item from item browser.

This commit is contained in:
Ethan 2020-12-01 12:17:02 -05:00
parent b6fab25dce
commit db10cca85f

View File

@ -141,7 +141,7 @@ public class ItemBrowser extends PluginInventory {
newLore.add(ChatColor.YELLOW + AltChar.smallListDash + " Right click to edit this item.");
}
item.setItemMeta(meta);
ItemMetaLore.addLoreLines(item, newLore);
item = ItemMetaLore.addLoreLines(item, newLore);
cached.put(template.getId(), item);
}