Skip to content

Commit

Permalink
Add ItemCache:IsItem()
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Jul 18, 2024
1 parent 1678830 commit d13e3e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ItemCache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ end
local function IsItem(item)
return type(item) == "table" and getmetatable(item) == matchMeta
end
function ItemCache:IsItem(...)
return IsItem(...)
end

local function MakeItem(id, suffix, uniqueID)
if suffix == 0 then
Expand Down

0 comments on commit d13e3e8

Please sign in to comment.