Quantcast

fixed wrong 'nothing suitable found' message appearing

Alex Shubert [04-24-12 - 11:43]
fixed wrong 'nothing suitable found' message appearing
Filename
AutoTurnIn.lua
diff --git a/AutoTurnIn.lua b/AutoTurnIn.lua
index e2db2db..8eaf9ac 100644
--- a/AutoTurnIn.lua
+++ b/AutoTurnIn.lua
@@ -343,7 +343,7 @@ function AutoTurnIn:Need()
 		self:TurnInQuest(self.found[1])
 	end

-	if  ( #self.found == 0 ) and (not AutoTurnInCharacterDB.greedifnothingfound) then
+	if  ( #self.found == 0 and GetNumQuestChoices() > 0 ) and ( not AutoTurnInCharacterDB.greedifnothingfound ) then
 		self:Print(L["nosuitablefound"])
 	end
 	return ( #self.found ~= 0 )