Hello i need to remove speed potion 2 using skript
every 1 tick:
loop all players:
loop all items in loop-player's inventory:
if loop-item is a potion of swiftness:
remove loop-item from loop-player's inventory
this is my skript but it only removes the normal one (which i want to keep) what is potion of swiftness 2 called and if its not possible how can i make it check the stats off the potion and thatway make it work
every 1 tick:
loop all players:
loop all items in loop-player's inventory:
if loop-item is a potion of swiftness:
remove loop-item from loop-player's inventory
this is my skript but it only removes the normal one (which i want to keep) what is potion of swiftness 2 called and if its not possible how can i make it check the stats off the potion and thatway make it work