Skip to content

Commit

Permalink
fix(server): use correct event handler for player load
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Aug 5, 2024
1 parent dc804c0 commit e91529a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ RegisterNetEvent('qbx_jewelery:server:succeshackdoor', function()
TriggerEvent('ox_doorlock:setState', doorEntrance.id, 0)
end)

AddEventHandler('playerJoining', function(source)
RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function()
TriggerClientEvent('qbx_jewelery:client:syncconfig', source, sharedConfig.vitrines)
end)

0 comments on commit e91529a

Please sign in to comment.