mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 11:30:48 +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
|
-- Fill database with player casts
|
||||||
if event == "PLAYER_TARGET_CHANGED" then
|
if event == "PLAYER_TARGET_CHANGED" then
|
||||||
this:TriggerEvents()
|
if not pfScanActive then
|
||||||
|
this:TriggerEvents()
|
||||||
|
end
|
||||||
elseif event == "SPELLCAST_START" then
|
elseif event == "SPELLCAST_START" then
|
||||||
this.db[player] = {cast = arg1, start = GetTime(), casttime = arg2, icon = nil, channel = nil, delay = 0}
|
this.db[player] = {cast = arg1, start = GetTime(), casttime = arg2, icon = nil, channel = nil, delay = 0}
|
||||||
this:TriggerEvents()
|
this:TriggerEvents()
|
||||||
|
|||||||
Reference in New Issue
Block a user