SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2024-01-24 21:45:52 +11:00
parent d7095f8578
commit f5b984c8a0

View file

@ -20,8 +20,8 @@ import org.bukkit.potion.PotionEffectType;
@DelegateDeserialization(CraftMetaItem.SerializableMeta.class)
public class CraftMetaSuspiciousStew extends CraftMetaItem implements SuspiciousStewMeta {
static final ItemMetaKey DURATION = new ItemMetaKey("EffectDuration", "duration");
static final ItemMetaKey EFFECTS = new ItemMetaKey("Effects", "effects");
static final ItemMetaKey DURATION = new ItemMetaKey("duration", "duration");
static final ItemMetaKey EFFECTS = new ItemMetaKey("effects", "effects");
static final ItemMetaKey ID = new ItemMetaKey("id", "id");
private List<PotionEffect> customEffects;