mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
libcast: avoid castbar events during scanning
This commit is contained in:
+3
-1
@@ -116,7 +116,9 @@ libcast:SetScript("OnEvent", function()
|
||||
|
||||
-- Fill database with player casts
|
||||
if event == "PLAYER_TARGET_CHANGED" then
|
||||
this:TriggerEvents()
|
||||
if not pfScanActive then
|
||||
this:TriggerEvents()
|
||||
end
|
||||
elseif event == "SPELLCAST_START" then
|
||||
this.db[player] = {cast = arg1, start = GetTime(), casttime = arg2, icon = nil, channel = nil, delay = 0}
|
||||
this:TriggerEvents()
|
||||
|
||||
Reference in New Issue
Block a user