From 6202a9083c224ca3be2f2038c3f05c7f586d8a8f Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 24 Jun 2021 21:35:55 +1000 Subject: [PATCH] chore(server/main): Removed unused code --- server/main.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/main.lua b/server/main.lua index 3ad62482..ddf5931a 100644 --- a/server/main.lua +++ b/server/main.lua @@ -45,8 +45,6 @@ end function onPlayerJoined(playerId) local identifier = ESX.GetIdentifier(playerId) - if char then identifier = char..':'..identifier end - if identifier then if ESX.GetPlayerFromIdentifier(identifier) then DropPlayer(playerId, ('there was an error loading your character!\nError code: identifier-active-ingame\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same Rockstar account.\n\nYour Rockstar identifier: %s'):format(identifier))