Refactor warehouse part two.

This commit is contained in:
2024-03-17 09:51:50 -04:00
parent f3bfdd8a36
commit 4a9a496a5d
@@ -112,7 +112,7 @@ public class dbWarehouseHandler extends dbHandlerBase {
int cityUID = rs.getInt("cityUID");
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template"));
City city = City.getCity(cityUID);
Warehouse warehouse = new Warehouse(jsonObject);
city.warehouse = new Warehouse(jsonObject);
}
} catch (Exception e) {