From 160cd55f29c950faebefff4bb9660640412de210 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 28 Apr 2012 19:50:41 +0200 Subject: [PATCH] Minor bug fix --- Molinari.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Molinari.lua b/Molinari.lua index 00d19cc..1118d0d 100644 --- a/Molinari.lua +++ b/Molinari.lua @@ -42,7 +42,7 @@ function button:PLAYER_LOGIN() spell, r, g, b = GetSpellInfo(13262), 1/2, 1/2, 1 elseif(not spell and rogue) then for index = 1, self:NumLines() do - if(string.match(_G['GameTooltipTextLeft' .. index]:GetText(), rogue)) then + if(string.match(_G['GameTooltipTextLeft' .. index]:GetText() or '', rogue)) then spell, r, g, b = GetSpellInfo(1804), 0, 1, 1 end end -- 1.7.9.5