public int killMobsDo(Vector pos, double radius, boolean withLightning, boolean killAnimals, boolean killNPCs, boolean killPets) {
List<Entity> entities = this.world.getMinecraftWorld().getEntitiesWithinAABBExcludingEntity(null,
AxisAlignedBB.getBoundingBox(pos.getX() - (double)radius, pos.getY() - (double)radius, pos.getZ() - (double)radius,
pos.getX() + (double)radius, pos.getY() + (double)radius, pos.getZ() + (double)radius));
int count = 0;
EntityPlayerMP owner;
try {
String firstPlayer = MinecraftServer.getServer().getServerOwner();
owner = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(firstPlayer);
} catch (Exception e) {
owner = null;