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/admincommandhandlers/AdminCHSiege.java

    r8406 r8630  
    4848                SiegableHall hall = null; 
    4949                if(Config.ALT_DEV_NO_QUESTS) 
     50                { 
    5051                        activeChar.sendMessage("AltDevNoQuests = true; Clan Hall Sieges are disabled!"); 
    51                 else if(split.length < 2) 
     52                        return false; 
     53                } 
     54                if(split.length < 2) 
     55                { 
    5256                        activeChar.sendMessage("You have to specify the hall id at least"); 
    53                 else if((hall = getHall(split[1], activeChar)) == null) 
     57                        return false; 
     58                } 
     59                if((hall = getHall(split[1], activeChar)) == null) 
     60                { 
    5461                        activeChar.sendMessage("Couldnt find he desired siegable hall ("+split[1]+")"); 
    55                 else if(hall.getSiege() == null) 
     62                        return false; 
     63                } 
     64                if(hall.getSiege() == null) 
     65                { 
    5666                        activeChar.sendMessage("The given hall dont have any attached siege!"); 
    57                 else if(split[0].equals(COMMANDS[1])) 
     67                        return false; 
     68                } 
     69 
     70                if(split[0].equals(COMMANDS[1])) 
    5871                { 
    5972                        if(hall.isInSiege()) 
Note: See TracChangeset for help on using the changeset viewer.