change CodeM client inv check to getUserInventory()

This commit is contained in:
Jim Shield
2025-04-29 19:55:09 +01:00
parent 3f093ce934
commit 6c3d0ffc5e

View File

@@ -122,7 +122,7 @@ function getPlayerInv(src)
if src then if src then
grabInv = exports[CodeMInv]:GetInventory(src) grabInv = exports[CodeMInv]:GetInventory(src)
else else
grabInv = exports[CodeMInv]:GetClientPlayerInventory() grabInv = exports[CodeMInv]:getUserInventory()
end end
elseif isStarted(QBInv) then elseif isStarted(QBInv) then