if(character instanceof L2PcInstance)
{
L2PcInstance player = (L2PcInstance) character;
if(!player.isGM() && player.isFlying() && !player.isInJail() && !_IsFlyingEnable)
{
player.teleToLocation(com.l2jfrozen.gameserver.datatables.csv.MapRegionTable.TeleportWhereType.Town);
}
if(_zoneName.equalsIgnoreCase("tradeoff"))
{
player.sendMessage("Trade restrictions are involved.");