Skip to content

Commit

Permalink
fix(compat/qb): error on logout (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mkeefeus authored Nov 10, 2022
1 parent ea4b6b7 commit 316e1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/framework/qb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end)
RegisterNetEvent('QBCore:Player:SetPlayerData', function(val)
if source == '' then return end
playerData = val
if not usingOxInventory then setPlayerItems() end
if not usingOxInventory and playerData.items then setPlayerItems() end
end)

function PlayerHasGroups(filter)
Expand Down

0 comments on commit 316e1a1

Please sign in to comment.