3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-19 14:30:17 +01:00

Fix stored enchantments accidentally being dropped

Dieser Commit ist enthalten in:
AJ Ferguson 2020-06-29 16:54:19 -08:00
Ursprung 95144266d2
Commit eb3bde15a7

Datei anzeigen

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