From b7ebb728e2a0e0e964f6d3b89d356a0a0e56d0c8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 20 May 2024 13:35:49 -0500 Subject: [PATCH] attempted warehouse delay issue resolution --- src/engine/db/handlers/dbWarehouseHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 8d410a58..677e67eb 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -45,7 +45,7 @@ public class dbWarehouseHandler extends dbHandlerBase { list.add(building); break; case "warehouse": - Warehouse warehouse = new Warehouse(rs, depositQueItem); + Warehouse warehouse = new Warehouse(rs); DbManager.addToCache(warehouse); list.add(warehouse); break; @@ -543,7 +543,7 @@ public class dbWarehouseHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); while (rs.next()) { - warehouse = new Warehouse(rs, depositQueItem); + warehouse = new Warehouse(rs); warehouse.runAfterLoad(); warehouse.loadAllTransactions(); }