Reversed the order of the strmatch for finger so that only lines with nothing on them but the word "finger" will match.
torhal [07-08-09 - 03:21]
Reversed the order of the strmatch for finger so that only lines with nothing on them but the word "finger" will match.
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 9dd34fd..8ebf642 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1473,7 +1473,7 @@ do
scan_data.Plate = true
elseif (strmatch(text,"cloak")) then
scan_data.Cloak = true
- elseif ((strmatch(text,"ring") or strmatch(text,"finger"))
+ elseif ((strmatch(text,"ring") or strmatch("finger", text))
and (strmatch(text,"ring:") == nil) and (strmatch(text,"requires") == nil)) then
scan_data.Ring = true
elseif (strmatch(text,"necklace")) then