|
|
|
@ -132,7 +132,7 @@ public class RemoveObjectCmd extends AbstractDevCmd {
@@ -132,7 +132,7 @@ public class RemoveObjectCmd extends AbstractDevCmd {
|
|
|
|
|
if ((building.getBlueprint() != null) && (building.getBlueprint().getBuildingGroup() == BuildingGroup.WAREHOUSE)) { |
|
|
|
|
City city = City.getCity(building.getParentZone().playerCityUUID); |
|
|
|
|
|
|
|
|
|
if (city != null) |
|
|
|
|
DbManager.WarehouseQueries.DELETE_WAREHOUSE(city.warehouse); |
|
|
|
|
city.warehouse = null; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|