player.setMount(0, 0, 0);
player.addProperty(PropertyCollection.ZoneEnteredNoLandingFlying, 0);
return;
}
player.teleToLocation(loc);
player.addProperty(PropertyCollection.ZoneEnteredNoLandingFlying, enterCount + 1);
}
else if(Config.ALT_DONT_ALLOW_PETS_ON_SIEGE && player.getPet() != null)
{
int id = player.getPet().getNpcId();
if((PetDataTable.isBabyPet(id) || PetDataTable.isImprovedBabyPet(id)) && SiegeManager.getSiege(player, true) != null)