Skip to content

Commit 12c75a0

Browse files
committed
fix the player role style filter trigger
1 parent 51bd80e commit 12c75a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ElvUI/Core/Modules/Nameplates/StyleFilter.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,8 @@ function NP:StyleFilterConditionCheck(frame, filter, trigger)
998998
end
999999

10001000
-- My Role
1001-
if trigger.role and (trigger.role.tank or trigger.role.healer or trigger.role.damager) then
1002-
if trigger.role[NP.TriggerConditions.roles[E.myrole]] then passed = true else return end
1001+
if trigger.myRole and (trigger.myRole.tank or trigger.myRole.healer or trigger.myRole.damager) then
1002+
if trigger.myRole[NP.TriggerConditions.roles[E.myrole]] then passed = true else return end
10031003
end
10041004

10051005
-- Unit Type

0 commit comments

Comments
 (0)