[Solved] Can someone help me with item type


if item.type:“poison” it seems not to work it just say null


There is no item type poison. It’s really just a potion with an effect that takes health away from whoever who picks it up.


so why doesn’t it work


poison is not an item type, so it doesn’t work.


so i write if item instead


but water is a potion too so how can I distinguish which


Pretty much, but you still need to make sure that you don’t pick up the harmful potions.


poison and water come from potions