Setting city when loading
This commit is contained in:
1 parent
b2f3e7a635
commit
b8bd71616b
1 file changed
+1
@@ -115,6 +115,7 @@ public class dbWarehouseHandler extends dbHandlerBase {
|
||||
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("warehouse"));
|
||||
City city = City.getCity(cityUID);
|
||||
city.warehouse = new Warehouse(jsonObject);
|
||||
city.warehouse.city = city;
|
||||
|
||||
// Locate warehouse building
|
||||
for (Building building : city.parentZone.zoneBuildingSet) {
|
||||
|
||||
Reference in new issue
Block a user