Skip to content

Commit 38a0cfa

Browse files
authored
Fix grafts being considered as equipped items for Utula's Hunger (#9232)
1 parent 214ac9b commit 38a0cfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/ModStore.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ function ModStoreClass:EvalMod(mod, cfg, globalLimits)
631631
end
632632
if tag.searchCond then
633633
for slot, item in pairs(items) do
634-
if (not tag.allSlots or tag.allSlots and item.type ~= "Jewel") and slot ~= itemSlot or not tag.excludeSelf then
634+
if (not tag.allSlots or tag.allSlots and (item.type ~= "Jewel" and item.type ~= "Graft")) and slot ~= itemSlot or not tag.excludeSelf then
635635
t_insert(matches, item:FindModifierSubstring(tag.searchCond:lower(), slot:lower()))
636636
end
637637
end

0 commit comments

Comments
 (0)