mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-30 22:53:33 +01:00
parent
8ae3ebae7f
commit
039ed174fb
@ -300,11 +300,9 @@ public class ItemUtil {
|
||||
}
|
||||
if (is.getEnchantments().isEmpty() == false) {
|
||||
for (Entry<Enchantment, Integer> e : is.getEnchantments().entrySet()) {
|
||||
if (e.getKey() != null) {
|
||||
serial += ":enchantment-" + Quester.enchantmentString(e.getKey()) + " " + e.getValue();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (is.hasItemMeta()) {
|
||||
ItemMeta meta = is.getItemMeta();
|
||||
if (meta.hasDisplayName()) {
|
||||
|
Loading…
Reference in New Issue
Block a user