Fix OrigenInv getPlayerInv() func calling OX_Inv

This commit is contained in:
Jim Shield
2025-10-10 00:40:35 +01:00
parent a13284d0e0
commit ae4637f9c4

View File

@@ -272,15 +272,15 @@ local InvFunc = {
function(src) function(src)
local grabInv = nil local grabInv = nil
if src then if src then
grabInv = exports[OXInv]:GetInventoryItems(src) grabInv = exports[OrigenInv]:GetInventoryItems(src)
else else
grabInv = exports[OXInv]:GetPlayerItems() grabInv = exports[OrigenInv]:GetInventory()
end end
return grabInv return grabInv
end, end,
invImg = invImg =
function(item) function(item)
return "nui://"..OrigenInv.."/html/img/"..(Items[item].image or "") return "nui://"..OrigenInv.."/html/images/"..(Items[item].image or "")
end, end,
openShop = openShop =
function(name, label, items) function(name, label, items)