Fix OrigenInv getPlayerInv() func calling OX_Inv

This commit is contained in:
Jim Shield committed 2025-10-10 00:40:35 +01:00
1 parent a13284d0e0
commit ae4637f9c4
1 file changed
+3 -3
+3 -3
View File
@@ -272,15 +272,15 @@ local InvFunc = {
function(src)
local grabInv = nil
if src then
grabInv = exports[OXInv]:GetInventoryItems(src)
grabInv = exports[OrigenInv]:GetInventoryItems(src)
else
grabInv = exports[OXInv]:GetPlayerItems()
grabInv = exports[OrigenInv]:GetInventory()
end
return grabInv
end,
invImg =
function(item)
return "nui://"..OrigenInv.."/html/img/"..(Items[item].image or "")
return "nui://"..OrigenInv.."/html/images/"..(Items[item].image or "")
end,
openShop =
function(name, label, items)