mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 08:17:44 +01:00
SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
d7095f8578
commit
f5b984c8a0
@ -20,8 +20,8 @@ import org.bukkit.potion.PotionEffectType;
|
|||||||
@DelegateDeserialization(CraftMetaItem.SerializableMeta.class)
|
@DelegateDeserialization(CraftMetaItem.SerializableMeta.class)
|
||||||
public class CraftMetaSuspiciousStew extends CraftMetaItem implements SuspiciousStewMeta {
|
public class CraftMetaSuspiciousStew extends CraftMetaItem implements SuspiciousStewMeta {
|
||||||
|
|
||||||
static final ItemMetaKey DURATION = new ItemMetaKey("EffectDuration", "duration");
|
static final ItemMetaKey DURATION = new ItemMetaKey("duration", "duration");
|
||||||
static final ItemMetaKey EFFECTS = new ItemMetaKey("Effects", "effects");
|
static final ItemMetaKey EFFECTS = new ItemMetaKey("effects", "effects");
|
||||||
static final ItemMetaKey ID = new ItemMetaKey("id", "id");
|
static final ItemMetaKey ID = new ItemMetaKey("id", "id");
|
||||||
|
|
||||||
private List<PotionEffect> customEffects;
|
private List<PotionEffect> customEffects;
|
||||||
|
Loading…
Reference in New Issue
Block a user