Skip to content

Commit

Permalink
Mistake from me :(
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFantomas authored Sep 24, 2023
1 parent 48e7e46 commit 5da14c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ AddEventHandler('playerDropped', function(reason)
end
end)

AddEventHandler("esx:playerLoaded", function()
AddEventHandler("esx:playerLoaded", function(_, xPlayer)
local job = xPlayer.getJob().name
local jobKey = ("%s:count"):format(job)

Expand Down

0 comments on commit 5da14c1

Please sign in to comment.