let's take into account the reputation vendors too in the check to see that we are scanning a vendor.
pompachomp [07-07-09 - 20:38]
let's take into account the reputation vendors too in the check to see that we are scanning a vendor.
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 32cfd82..2c6b5e0 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -989,7 +989,7 @@ function addon:ScanVendor()
local found = false
for i in pairs(acquire) do
-- If the acquire type is a vendor
- if (acquire[i]["Type"] == 2) and (acquire[i]["ID"] == targetID) then
+ if (((acquire[i]["Type"] == 2) and (acquire[i]["ID"] == targetID)) or ((acquire[i]["Type"] == 6) and (acquire[i]["RepVendor"] == targetID))) then
found = true
end
end