mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
feigndeath: only hook for internal usage
This commit is contained in:
@@ -19,7 +19,7 @@ pfUI:RegisterModule("feigndeath", "vanilla:tbc", function ()
|
||||
end)
|
||||
|
||||
local oldUnitHealth = UnitHealth
|
||||
function _G.UnitHealth(arg)
|
||||
function UnitHealth(arg)
|
||||
if UnitIsDead(arg) and cache[UnitName(arg)] then
|
||||
return cache[UnitName(arg)]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user