Ignore:
Timestamp:
Jan 16, 2012 7:56:19 AM (4 months ago)
Author:
MELERIX
Message:

STABLE: Sync with BETA [8629]

Location:
trunk/L2J_DataPack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/L2J_DataPack

  • trunk/L2J_DataPack/dist/game/data/scripts/handlers/bypasshandlers/RentPet.java

    r8501 r8630  
    3333        }; 
    3434         
     35        @Override 
    3536        public boolean useBypass(String command, L2PcInstance activeChar, L2Character target) 
    3637        { 
    3738                if (!(target instanceof L2MerchantInstance)) 
     39                { 
    3840                        return false; 
     41                } 
    3942                 
    4043                if (!Config.ALLOW_RENTPET) 
     44                { 
    4145                        return false; 
     46                } 
    4247                 
    43                 if (!Config.LIST_PET_RENT_NPC.contains(((L2Npc)target).getTemplate().npcId)) 
     48                if (!Config.LIST_PET_RENT_NPC.contains(((L2Npc) target).getTemplate().getNpcId())) 
     49                { 
    4450                        return false; 
     51                } 
    4552                 
    4653                try 
Note: See TracChangeset for help on using the changeset viewer.