This commit is contained in:
BuildTools 2018-12-09 16:25:03 -05:00
parent 8ae3ebae7f
commit 039ed174fb

View File

@ -300,9 +300,7 @@ 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();
}
serial += ":enchantment-" + Quester.enchantmentString(e.getKey()) + " " + e.getValue();
}
}
if (is.hasItemMeta()) {