From f5b984c8a0e745a0cf4ecbcf8b4c35819a7318c3 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 24 Jan 2024 21:45:52 +1100 Subject: [PATCH] SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data By: Doc --- .../bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java index 66ce8d741c..8520631592 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java @@ -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 customEffects;