Update client.lua
This commit is contained in:
1 parent
55c2778eb0
commit
8953b0e8f8
1 file changed
-6
@@ -17,12 +17,6 @@ Inventory.GetItemInfo = function(item)
|
|||||||
return repackedTable
|
return repackedTable
|
||||||
end
|
end
|
||||||
|
|
||||||
Inventory.HasItem = function(item)
|
|
||||||
local itemList = codem:GetItemList()
|
|
||||||
local itemCheck = itemList and itemList[item] ~= nil
|
|
||||||
return itemCheck
|
|
||||||
end
|
|
||||||
|
|
||||||
Inventory.GetImagePath = function(item)
|
Inventory.GetImagePath = function(item)
|
||||||
local imagePath = string.format("nui://codem-inventory/html/images/%s.png", item)
|
local imagePath = string.format("nui://codem-inventory/html/images/%s.png", item)
|
||||||
return imagePath or "https://avatars.githubusercontent.com/u/47620135"
|
return imagePath or "https://avatars.githubusercontent.com/u/47620135"
|
||||||
|
|||||||
Reference in new issue
Block a user