Fix meta setting (works for 1.9)

This commit is contained in:
vemacs 2016-03-28 17:31:25 -06:00
parent c266778c1e
commit dcb14170b9

View File

@ -51,7 +51,9 @@ public class PotionMetaUtil {
} }
PotionMeta meta = (PotionMeta) potion.getItemMeta(); PotionMeta meta = (PotionMeta) potion.getItemMeta();
PotionData potionType = new PotionData(type, extended, upgraded); PotionData data = new PotionData(type, extended, upgraded);
meta.setBasePotionData(data);
potion.setItemMeta(meta);
return potion; return potion;
} }