Browse Source

Code written to refactor db call out of effect costs.

combat-2
MagicBot 8 months ago
parent
commit
e2dbc19adc
  1. 4
      src/engine/server/world/WorldServer.java

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

@ -455,6 +455,10 @@ public class WorldServer {
Logger.info("Restoring NPC workOrders"); Logger.info("Restoring NPC workOrders");
DbManager.WarehouseQueries.LOAD_WORKORDERS(); DbManager.WarehouseQueries.LOAD_WORKORDERS();
Logger.info("Generating costmaps");
DbManager.EffectsResourceCostsQueries.GENERATE_COST_DATA();
;
// Run maintenance // Run maintenance
MaintenanceManager.dailyMaintenance(); MaintenanceManager.dailyMaintenance();

Loading…
Cancel
Save