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(); }