Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
Fix broken potion serialization
Dieser Commit ist enthalten in:
Ursprung
d39a750709
Commit
420b983d59
@ -280,7 +280,7 @@ class CraftMetaPotion extends CraftMetaItem implements PotionMeta {
|
||||
Builder<String, Object> serialize(Builder<String, Object> builder) {
|
||||
super.serialize(builder);
|
||||
if (type.getType() != PotionType.UNCRAFTABLE) {
|
||||
builder.put(DEFAULT_POTION.BUKKIT, type);
|
||||
builder.put(DEFAULT_POTION.BUKKIT, CraftPotionUtil.fromBukkit(type));
|
||||
}
|
||||
|
||||
if (hasCustomEffects()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren