From 813f05909039bfa6e747d21cf380d5ed2f3a8a81 Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 14 Jul 2009 18:08:14 +0000 Subject: [PATCH] Fix obtain mining code to be and's instead of or's. --- ARLDatamine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 7d8f369..9782f34 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1709,8 +1709,8 @@ do end -- Check to see if we have an obtain method flag, all recipes must have at least one of these - if ((not flags[3]) or (not flags[4]) or (not flags[5]) or (not flags[6]) or (not flags[7]) - or (not flags[8]) or (not flags[9]) or (not flags[10]) or (not flags[11]) or (not flags[12])) then + if ((not flags[3]) and (not flags[4]) and (not flags[5]) and (not flags[6]) and (not flags[7]) + and (not flags[8]) and (not flags[9]) and (not flags[10]) and (not flags[11]) and (not flags[12])) then addedtotable = true tinsert(t,"No obtain flag. " .. recipe_name .. " (" .. spellid .. ")") end -- 1.7.9.5