From 374217fdacbc97f885f02055c5fa95895195c716 Mon Sep 17 00:00:00 2001 From: Alex Shubert Date: Tue, 24 Apr 2012 15:43:23 +0400 Subject: [PATCH] fixed wrong 'nothing suitable found' message appearing --- AutoTurnIn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 1.7.9.5