geforkt von Mirrors/Paper
Fix broken potion serialization
By: Thinkofname <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
Ursprung
cfffbb4d68
Commit
8e83dbabf9
@ -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