This commit is contained in:
parent
a9eaba2a2d
commit
058f14f734
|
@ -81,7 +81,7 @@ public class EventController {
|
||||||
event.setVehicle(largeVehicle.getString("valueDescription"));
|
event.setVehicle(largeVehicle.getString("valueDescription"));
|
||||||
}
|
}
|
||||||
JSONObject trainingVehicle = attributes.getJSONObject("training_vehicle");
|
JSONObject trainingVehicle = attributes.getJSONObject("training_vehicle");
|
||||||
if (trainingVehicle == null) {
|
if (trainingVehicle != null) {
|
||||||
event.setVehicle(trainingVehicle.getString("valueDescription"));
|
event.setVehicle(trainingVehicle.getString("valueDescription"));
|
||||||
}
|
}
|
||||||
JSONObject smallVehicle = attributes.getJSONObject("small_vehicle");
|
JSONObject smallVehicle = attributes.getJSONObject("small_vehicle");
|
||||||
|
|
Loading…
Reference in New Issue