diff --git a/app/Services/Servers/ServerCreationService.php b/app/Services/Servers/ServerCreationService.php index 1380db7cc..fa421eb14 100644 --- a/app/Services/Servers/ServerCreationService.php +++ b/app/Services/Servers/ServerCreationService.php @@ -206,7 +206,7 @@ class ServerCreationService $uuid = Uuid::uuid4()->toString(); $shortUuid = substr($uuid, 0, 8); - if (!Server::query()->where('uuid', $uuid)->orWhere('uuidShort', $shortUuid)->exists()) { + if (Server::query()->where('uuid', $uuid)->orWhere('uuidShort', $shortUuid)->exists()) { return $this->generateUniqueUuidCombo(); }