Fix certain entities not being damaged in protected regions.

This commit is contained in:
sk89q 2014-11-10 23:52:44 -08:00
parent ba4e5d6ea9
commit a2defe5971

View File

@ -468,7 +468,7 @@ public void onVehicleExit(VehicleExitEvent event) {
}
private boolean isWhitelistedEntity(Entity entity) {
return Entities.isHostile(entity) || Entities.isAmbient(entity);
return Entities.isNonPlayerCreature(entity);
}
}