check for nil player in protection_violation