13
0
geforkt von Mirrors/Paper

Fix broken potion serialization

By: Thinkofname <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-04-10 20:54:16 +01:00
Ursprung cfffbb4d68
Commit 8e83dbabf9

Datei anzeigen

@ -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()) {