forked from GeyserMC/Geyser
Fix stored enchantments accidentally being dropped
This commit is contained in:
parent
95144266d2
commit
eb3bde15a7
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue