From e2dbc19adc18049b4d03294d9110787785f21027 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 23 Apr 2024 14:31:08 -0400 Subject: [PATCH] Code written to refactor db call out of effect costs. --- src/engine/server/world/WorldServer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 821c9463..b8659649 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -455,6 +455,10 @@ public class WorldServer { Logger.info("Restoring NPC workOrders"); DbManager.WarehouseQueries.LOAD_WORKORDERS(); + Logger.info("Generating costmaps"); + DbManager.EffectsResourceCostsQueries.GENERATE_COST_DATA(); + ; + // Run maintenance MaintenanceManager.dailyMaintenance();