Wants to check if the player has an item in their inventory. The problem arises when the player, for example, throws an item and it disappears and then the "target: getTopParent ()" function is performed on that item, this is a crash.
Do you have any idea how to check if the player still has this item?
Do you have any idea how to check if the player still has this item?