Package net.sf.l2j.gameserver

Examples of net.sf.l2j.gameserver.CastleUpdater


            }

            if (getOwnerId() > 0)
            {
                L2Clan clan = ClanTable.getInstance().getClan(getOwnerId());                        // Try to find clan instance
                ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000);     // Schedule owner tasks to start running
            }

            statement.close();
        }
        catch (Exception e)
View Full Code Here


            {
            clan.setHasCastle(getCastleId()); // Set has castle flag for new owner
            new Announcements().announceToAll(clan.getName() + " has taken " + getName() + " castle!");
            clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));

            ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000)// Schedule owner tasks to start running
            }
        }
        catch (Exception e)
        {
            System.out.println("Exception: updateOwnerInDB(L2Clan clan): " + e.getMessage());
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.CastleUpdater

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.