Prevent error

Wowace ticket #351
This commit is contained in:
Parnic
2023-12-26 15:47:36 -06:00
parent 6b2eb8d6e2
commit 5321f7c64d
3 changed files with 9 additions and 1 deletions

View File

@ -361,7 +361,7 @@ function IceCastBar.prototype:MyOnUpdate()
local timeString = self.moduleSettings.showCastTime and string.format("%.1fs ", remainingTime) or "" local timeString = self.moduleSettings.showCastTime and string.format("%.1fs ", remainingTime) or ""
local empowerString = self.NumStages ~= nil and (L["Stage %d"]):format(self:GetCurrentStage()) or "" local empowerString = self.NumStages ~= nil and (L["Stage %d"]):format(self:GetCurrentStage()) or ""
local line1 = timeString .. self.actionMessage local line1 = timeString .. (self.actionMessage or "")
if self.moduleSettings.empowerStageTextDisplay == "TOPLINE" then if self.moduleSettings.empowerStageTextDisplay == "TOPLINE" then
line1 = line1 .. " " .. empowerString line1 = line1 .. " " .. empowerString
end end

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
v1.14.31:
- Fix nil concatenation error (wowace ticket #351)
v1.14.30: v1.14.30:
- Update Classic-era TOC for 1.15.0 - Update Classic-era TOC for 1.15.0

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
v1.14.31:
- Fix nil concatenation error (wowace ticket #351)
v1.14.30: v1.14.30:
- Update Classic-era TOC for 1.15.0 - Update Classic-era TOC for 1.15.0