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:
Ursprung
95144266d2
Commit
eb3bde15a7
@ -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");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren