File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public function getVehicleModelArray(array $vehicle): array
158158 'height ' => $ vehicle ['Height ' ] ?? 0 ,
159159 'length ' => $ vehicle ['Length ' ] ?? 0 ,
160160
161- 'crew ' => $ vehicle ['Crew ' ],
161+ 'crew ' => $ vehicle ['Crew ' ] ?? 1 ,
162162 'weapon_crew ' => $ vehicle ['WeaponCrew ' ] ?? 0 ,
163163 'operations_crew ' => $ vehicle ['OperationsCrew ' ] ?? 0 ,
164164 'mass ' => $ vehicle ['Mass ' ],
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ private function createWeapon(array $item): void
336336 'ammunition_uuid ' => $ item ['weapon ' ]['ammunition ' ]['uuid ' ] ?? null ,
337337 ]);
338338
339- if (! empty ($ item ['weapon ' ]['ammunition ' ])) {
339+ if (! empty ($ item ['weapon ' ]['ammunition ' ][ ' uuid ' ] )) {
340340 (new Ammunition ($ item ['weapon ' ]))->handle ();
341341 }
342342
You can’t perform that action at this time.
0 commit comments