diff options
author | feildmaster <admin@feildmaster.com> | 2012-12-18 18:39:21 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-18 18:43:53 -0600 |
commit | d9708d032e5f0b147c8b4cc6e0971e388743ca63 (patch) | |
tree | 54fc3c9f2fe3afab89ca6acbb23287ebd864fa2e /src/main/java/org | |
parent | d73e5ab469e97753aeb6285603a034ae93f29d60 (diff) | |
download | craftbukkit-d9708d032e5f0b147c8b4cc6e0971e388743ca63.tar craftbukkit-d9708d032e5f0b147c8b4cc6e0971e388743ca63.tar.gz craftbukkit-d9708d032e5f0b147c8b4cc6e0971e388743ca63.tar.lz craftbukkit-d9708d032e5f0b147c8b4cc6e0971e388743ca63.tar.xz craftbukkit-d9708d032e5f0b147c8b4cc6e0971e388743ca63.zip |
Fix PotionMeta not applying the correct Id. Fixes BUKKIT-3193
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java index fa21f40d..d8c507cb 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaPotion.java +++ b/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<PotionEffect> customEffects; |