Update server.lua

Co-authored-by: Malcolm Keefe <27903055+Mkeefeus@users.noreply.github.com>
This commit is contained in:
RoccoMyTacco
2023-07-14 00:55:25 -05:00
committed by GitHub
parent 8c25412585
commit 309373ca34

View File

@@ -82,7 +82,7 @@ local function UniqueAccounts(player)
accountIdentifier = v.ownerIdentifier,
}
exports.pefcl:removeUserFromUniqueAccount(playerSrc, data1)
elseif Config.BusinessAccounts[PlayerJob.name] and v.ownerIdentifier ~= PlayerJob.name then
elseif Config.BusinessAccounts[PlayerJob.name] and v.ownerIdentifier ~= PlayerJob.name and v.type == 'shared' then
local data1 = {
userIdentifier = citizenid,
accountIdentifier = v.ownerIdentifier,