From e710cf0930e9f6bab91bf6d79ce8c66f08f916e7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 22 Apr 2024 16:12:26 -0400 Subject: [PATCH] Loading workorders at bootstrap --- src/engine/server/world/WorldServer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index ed45878a..821c9463 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -452,6 +452,9 @@ public class WorldServer { Logger.info("Starting ForgeManager thread"); ForgeManager.start(); + Logger.info("Restoring NPC workOrders"); + DbManager.WarehouseQueries.LOAD_WORKORDERS(); + // Run maintenance MaintenanceManager.dailyMaintenance();