Browse Source

Loading workorders at bootstrap

combat-2
MagicBot 7 months ago
parent
commit
e710cf0930
  1. 3
      src/engine/server/world/WorldServer.java

3
src/engine/server/world/WorldServer.java

@ -452,6 +452,9 @@ public class WorldServer {
Logger.info("Starting ForgeManager thread"); Logger.info("Starting ForgeManager thread");
ForgeManager.start(); ForgeManager.start();
Logger.info("Restoring NPC workOrders");
DbManager.WarehouseQueries.LOAD_WORKORDERS();
// Run maintenance // Run maintenance
MaintenanceManager.dailyMaintenance(); MaintenanceManager.dailyMaintenance();

Loading…
Cancel
Save