Add potion meta to all potion types + tipped arrow

This commit is contained in:
Felix Cravic 2020-08-09 20:30:46 +02:00
parent 76f15cf788
commit 55aeac7530

View File

@ -572,7 +572,10 @@ public class ItemStack implements DataContainer {
* @return the item meta
*/
private ItemMeta findMeta() {
if (material == Material.POTION)
if (material == Material.POTION ||
material == Material.LINGERING_POTION ||
material == Material.SPLASH_POTION ||
material == Material.TIPPED_ARROW)
return new PotionMeta();
if (material == Material.FILLED_MAP)