1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-27 02:39:15 +00:00

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");
}