Skip to content

Commit

Permalink
- always rename spells if that is set
Browse files Browse the repository at this point in the history
  • Loading branch information
cont1nuity committed Nov 8, 2024
1 parent cf10511 commit c048d13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Plater.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5253,10 +5253,6 @@ function Plater.OnInit() --private --~oninit ~init
self:SetColor(color)
end

if (customSpellName and customSpellName ~= "") then
self.SpellNameRenamed = customSpellName
end

--check if the original cast color is enabled
if (originalCastColor) then
--get the original cast color
Expand All @@ -5267,6 +5263,10 @@ function Plater.OnInit() --private --~oninit ~init
self.castColorTexture:SetHeight(self:GetHeight() + profile.cast_color_settings.height_offset)
end
end

if (customSpellName and customSpellName ~= "") then
self.SpellNameRenamed = customSpellName
end
end

if self.SpellNameRenamed == self.SpellName and Plater.db.profile.bossmod_support_enabled and Plater.db.profile.bossmod_castrename_enabled then
Expand Down

0 comments on commit c048d13

Please sign in to comment.