From bae1b8659cc9147352881349a64add1b017f5859 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 18 Dec 2012 18:39:21 -0600 Subject: [PATCH] Fix PotionMeta not applying the correct Id. Fixes BUKKIT-3193 By: feildmaster --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java index fa21f40d80..d8c507cb77 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java @@ -25,7 +25,7 @@ class CraftMetaPotion extends CraftMetaItem implements PotionMeta { static final ItemMetaKey AMBIENT = new ItemMetaKey("Ambient", "ambient"); static final ItemMetaKey DURATION = new ItemMetaKey("Duration", "duration"); static final ItemMetaKey POTION_EFFECTS = new ItemMetaKey("CustomPotionEffects", "custom-effects"); - static final ItemMetaKey ID = new ItemMetaKey("ID", "potion-id"); + static final ItemMetaKey ID = new ItemMetaKey("Id", "potion-id"); private List customEffects;