Browse Source

attempted warehouse delay issue resolution

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
b7ebb728e2
  1. 4
      src/engine/db/handlers/dbWarehouseHandler.java

4
src/engine/db/handlers/dbWarehouseHandler.java

@ -45,7 +45,7 @@ public class dbWarehouseHandler extends dbHandlerBase { @@ -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 { @@ -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();
}

Loading…
Cancel
Save