From 6af7398d8e105227c18bc659c93e41cb1546b7f2 Mon Sep 17 00:00:00 2001 From: torhal Date: Wed, 8 Jul 2009 03:21:46 +0000 Subject: [PATCH] Reversed the order of the strmatch for finger so that only lines with nothing on them but the word "finger" will match. --- ARLDatamine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5