From d13e3e8f25904f581e1d7d1fbe15f0f88fb40721 Mon Sep 17 00:00:00 2001 From: Anonomit Date: Thu, 18 Jul 2024 01:43:36 -0400 Subject: [PATCH] Add ItemCache:IsItem() --- ItemCache.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ItemCache.lua b/ItemCache.lua index 9fdb97d..c0119e0 100644 --- a/ItemCache.lua +++ b/ItemCache.lua @@ -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