Jump to content

valanths1990

Members
  • Posts

    517
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by valanths1990

  1. dokimase to etsi,

    /**
     * Method to show castle lord name on enter world
     * @param activeChar
     */
    private void notifyCastleOwner(L2PcInstance activeChar)
    {
    	L2Clan clan = activeChar.getClan();
    
    	if (clan != null)
    	{
    		if (clan.getCastleId() > 0)
    		{
    			Castle castle = CastleManager.getInstance().getCastleById(clan.getCastleId());
    			if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))
    				Announcements.getInstance().announceToAll(activeChar.getName() + " lord of " + castle.getName() + " logged in!");
    		}
    	}
    }

    kai allakse ta imports

×
×
  • Create New...