Fixed bug which triggered on logging in a character unknown to this addon
willneedit [04-06-17 - 09:56]
Fixed bug which triggered on logging in a character unknown to this addon
diff --git a/Modules/Junker.lua b/Modules/Junker.lua
index 2f6574e..b993dc2 100644
--- a/Modules/Junker.lua
+++ b/Modules/Junker.lua
@@ -61,6 +61,8 @@ function IM:OnInvSlotUpdate(bagId, slotId)
if not data then return end
+ if not self.currentRuleset or not self.currentRuleset.Match then return end
+
data.action, data.index, data.text = self.currentRuleset:Match(data)
if filter_for_backpack_action(false, data) then
IM:ProcessSingleItem(false, data)