Hi !
I was wondering if there's another way to difference between a NPC and a Player in a DeathEvent or HurtEvent.
The usual way is to check if the name is any animal, but that can be "tricked" if a player's name is equal to an animal.
Any ideas ? Thanks !
I was wondering if there's another way to difference between a NPC and a Player in a DeathEvent or HurtEvent.
The usual way is to check if the name is any animal, but that can be "tricked" if a player's name is equal to an animal.
Any ideas ? Thanks !