mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 21:41:53 -05:00
- Fix to allow castbar text to update for target/focus when changed and
unit is already casting. (Fixes PB-382 and probably others)
This commit is contained in:
@ -66,7 +66,7 @@ DogTag:AddTimerHandler("Unit", function(num, currentTime)
|
||||
end
|
||||
end)
|
||||
|
||||
DogTag:AddEventHandler("Unit", "UnitChange", function(event, unit)
|
||||
DogTag:AddEventHandler("Unit", "UnitChanged", function(event, unit)
|
||||
if rawget(castData, unit) then
|
||||
castData[unit] = del(castData[unit])
|
||||
end
|
||||
|
Reference in New Issue
Block a user