Fix PotionMeta not applying the correct Id. Fixes BUKKIT-3193

By: feildmaster <admin@feildmaster.com>
This commit is contained in:
CraftBukkit/Spigot 2012-12-18 18:39:21 -06:00
parent adb1c46137
commit bae1b8659c

View File

@ -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;