forked from Alex/Pterodactyl-Panel
ServerCreationService: send 'start_on_completion' option to wings (#3431)
This commit is contained in:
parent
cc05b0886b
commit
1260965dfd
@ -162,7 +162,12 @@ class ServerCreationService
|
||||
|
||||
try {
|
||||
$this->daemonServerRepository->setServer($server)->create(
|
||||
$this->configurationStructureService->handle($server)
|
||||
array_merge(
|
||||
$this->configurationStructureService->handle($server),
|
||||
[
|
||||
'start_on_completion' => Arr::get($data, 'start_on_completion', false),
|
||||
],
|
||||
),
|
||||
);
|
||||
} catch (DaemonConnectionException $exception) {
|
||||
$this->serverDeletionService->withForce(true)->handle($server);
|
||||
|
Loading…
Reference in New Issue
Block a user