Use utils + formatting

This commit is contained in:
Vortrex
2022-04-12 06:30:30 -05:00
parent 5f3484e3e0
commit 7aacf876da
5 changed files with 8 additions and 8 deletions

View File

@@ -474,7 +474,7 @@ function onPlayerSpawn(client) {
}
logToConsole(LOG_DEBUG, `[VRR.Event] Checking ${getPlayerDisplayForConsole(client)}'s login status`);
if(!getPlayerData(client).loggedIn) {
if(!isPlayerLoggedIn(client)) {
logToConsole(LOG_DEBUG, `[VRR.Event] ${getPlayerDisplayForConsole(client)} is NOT logged in. Despawning their player.`);
client.disconnect();
return false;