check if character is null before shoot