Added missing getName(). Fixed doesnt stop players from attacking
entites