Drycode attempt to fix reported issue 278

This should only happen on a Classic client with LibClassicCasterino installed and a specific type of spell event fires
This commit is contained in:
Parnic
2020-05-22 10:17:18 -05:00
parent efdad59911
commit d9c3de0a5e

View File

@ -450,7 +450,7 @@ function IceCastBar.prototype:StartBar(action, message)
self.actionDuration = 1 -- instants/failures
end
if not (message) then
if not (message) and spell then
self.actionMessage = spell .. (self.moduleSettings.showSpellRank and self:GetShortRank(rank) or "")
end