mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 09:13:29 +00:00
Update server/player.lua
Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
This commit is contained in:
co-authored by
ItsANoBrainer
parent
c8c406df9f
commit
56473b4843
+1
-1
@@ -113,7 +113,7 @@ function QBCore.Player.CheckPlayerData(source, PlayerData)
|
||||
PlayerData.job.name = PlayerData.job.name or 'unemployed'
|
||||
PlayerData.job.label = PlayerData.job.label or 'Civilian'
|
||||
PlayerData.job.payment = PlayerData.job.payment or 10
|
||||
PlayerData.job.isleo = PlayerData.job.isleo or false
|
||||
PlayerData.job.type = PlayerData.job.type or 'none'
|
||||
if QBCore.Shared.ForceJobDefaultDutyAtLogin or PlayerData.job.onduty == nil then
|
||||
PlayerData.job.onduty = QBCore.Shared.Jobs[PlayerData.job.name].defaultDuty
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user