mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-03 23:17:48 +01:00
Add potion meta to all potion types + tipped arrow
This commit is contained in:
parent
76f15cf788
commit
55aeac7530
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user