Skip to content

Commit

Permalink
Fix Whilelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Insax committed Feb 10, 2024
1 parent 478bdc0 commit bd93707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Console/Commands/SyncPlayersCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ private function handleNotWhitelistedPlayers(Server $server): void
$whitelistIDs = $server->serverWhitelists->pluck('player_id')->toArray();

$notWhitelistedPlayers = Player::whereServerId($server->id)
->whereOnline(true)
->whereNotIn('player_id', $whitelistIDs)
->get();

Expand Down

0 comments on commit bd93707

Please sign in to comment.