fix inbag item icon updates and ? ignore tooltip

This commit is contained in:
Jrc13245
2026-02-26 17:21:02 -05:00
parent e85c03e51c
commit f9d405ce1b
2 changed files with 30 additions and 8 deletions
+6 -3
View File
@@ -309,12 +309,15 @@ function CleveRoids.FindItemLocation(item)
return { type = "bag", bag = bag, slot = slot }
end
end
-- If Nampower lookup failed, fall through to cache lookup
-- (might find via substring match or cached alias)
-- Nampower authoritatively says item not found — return nil.
-- Don't fall through to stale Items cache (consumed items would
-- still appear there until the next IndexItems). Substring/alias
-- matching is handled separately by HasItem's slow path.
return nil
end
end
-- Fallback to CleveRoids.Items cache
-- Fallback to CleveRoids.Items cache (only when FindPlayerItemSlot unavailable)
local Items = CleveRoids.Items
if not Items then return nil end