Skip to content

Commit 1ddd95c

Browse files
committed
add a debug message for when a pattern matches an item link in the CHAT_MSG_LOOT event message, but no inventory type could be detected for that item
1 parent 4400f66 commit 1ddd95c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AutoGear.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,6 +2551,8 @@ AutoGearFrame:SetScript("OnEvent", function (this, event, arg1, arg2, arg3, arg4
25512551
AutoGearPrint("AutoGear: Skipping scan because "..link.." is a weapon and a fishing pole is equipped. This is intentional to prevent replacing fishing poles while fishing.", 3)
25522552
return
25532553
end
2554+
else
2555+
AutoGearPrint("AutoGear: No inventory type was found for item "..link.." from CHAT_MSG_LOOT event message \""..message.."\". Scanning anyway in case the looted item was gear.", 3)
25542556
end
25552557
else
25562558
AutoGearPrint("AutoGear: No item link was found in CHAT_MSG_LOOT event message \""..message.."\". Scanning anyway in case the looted item was gear.", 3)

0 commit comments

Comments
 (0)