Skip to content

Commit

Permalink
Cast trigger: drop leftoverinternal events for unused LibClassicCaste…
Browse files Browse the repository at this point in the history
…rino
  • Loading branch information
mrbuds committed Dec 25, 2023
1 parent 834bda7 commit f1e2ade
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8346,11 +8346,6 @@ Private.event_prototypes = {
internal_events = function(trigger)
local unit = trigger.unit
local result = {}
if WeakAuras.IsClassicEra() and unit ~= "player" then
tinsert(result, "UNIT_SPELLCAST_START")
tinsert(result, "UNIT_SPELLCAST_DELAYED")
tinsert(result, "UNIT_SPELLCAST_CHANNEL_START")
end
if unit == "nameplate" and trigger.use_onUpdateUnitTarget then
tinsert(result, "WA_UNIT_TARGET_NAME_PLATE")
end
Expand Down

0 comments on commit f1e2ade

Please sign in to comment.