SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data

This commit is contained in:
Doc 2024-01-24 21:45:52 +11:00 committed by md_5
parent 161784713a
commit b44bf5aa87
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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;