Added a check for gib mod so it doesn't gib entities in safe zones.