Fix stored enchantments accidentally being dropped

This commit is contained in:
AJ Ferguson 2020-06-29 16:54:19 -08:00
parent 95144266d2
commit eb3bde15a7

View file

@ -114,7 +114,7 @@ public class EnchantmentTranslator extends NbtItemStackTranslator {
itemTag.put(new ListTag("Enchantments", enchantments));
}
if (!storedEnchantments.isEmpty()) {
itemTag.put(new ListTag("StoredEnchantments", enchantments));
itemTag.put(new ListTag("StoredEnchantments", storedEnchantments));
}
itemTag.remove("ench");
}