Package net.sf.l2j.gameserver.model.entity

Examples of net.sf.l2j.gameserver.model.entity.Castle


   
    // player has clan and is the clan leader, check the castle info
    if ((clan != null) && (clan.getLeader().getPlayerInstance() == this))
    {
      // if the clan has a castle and it is actually the queried castle, return true
      Castle castle = CastleManager.getInstance().getCastleByOwner(clan);
      if ((castle != null) && (castle == CastleManager.getInstance().getCastleById(castleId)))
      {
        return true;
      }
    }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.entity.Castle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.