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

Examples of net.sf.l2j.gameserver.model.entity.Castle.saveSeedData()


          Castle castle = CastleManager.getInstance().getCastleById(_clan.getHasCastle());
          if (!Config.ALT_MANOR_SAVE_ALL_ACTIONS)
          {
            if (_runCount % Config.ALT_MANOR_SAVE_PERIOD_RATE == 0)
            {
              castle.saveSeedData();
              castle.saveCropData();
              _log.info("Manor System: all data for " + castle.getName() + " saved");
            }
          }
                    _runCount++;
View Full Code Here


        castle.setCropProcure(new FastList<CropProcure>(), CastleManorManager.PERIOD_NEXT);
        castle.setSeedProduction(new FastList<SeedProduction>(), CastleManorManager.PERIOD_CURRENT);
        castle.setSeedProduction(new FastList<SeedProduction>(), CastleManorManager.PERIOD_NEXT);
        if (Config.ALT_MANOR_SAVE_ALL_ACTIONS) {
          castle.saveCropData();
          castle.saveSeedData();
        }
        activeChar.sendMessage("Manor data for " + castle.getName() + " was nulled");
      } else {
        for (Castle castle : CastleManager.getInstance().getCastles()) {
          castle.setCropProcure(new FastList<CropProcure>(), CastleManorManager.PERIOD_CURRENT);
View Full Code Here

          castle.setCropProcure(new FastList<CropProcure>(), CastleManorManager.PERIOD_NEXT);
          castle.setSeedProduction(new FastList<SeedProduction>(), CastleManorManager.PERIOD_CURRENT);
          castle.setSeedProduction(new FastList<SeedProduction>(), CastleManorManager.PERIOD_NEXT);
          if (Config.ALT_MANOR_SAVE_ALL_ACTIONS) {
            castle.saveCropData();
            castle.saveSeedData();
          }
        }
        activeChar.sendMessage("Manor data was nulled");
      }
      showMainPage(activeChar);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.