diff --git a/system/migrations/49.php b/system/migrations/49.php index 1cc57c05..fc78ac27 100644 --- a/system/migrations/49.php +++ b/system/migrations/49.php @@ -17,7 +17,7 @@ function insert_sample_if_not_exist($p): void $player->setData([ 'name' => $p['name'], 'group_id' => 1, - 'account_id' => getSession('account'), + 'account_id' => getSession('account') ?? 1, 'level' => $p['level'], 'vocation' => $p['vocation_id'], 'health' => $p['health'],