mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-02 17:09:58 +01:00
Fix meta setting (works for 1.9)
This commit is contained in:
parent
c266778c1e
commit
dcb14170b9
@ -51,7 +51,9 @@ public class PotionMetaUtil {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user