feigndeath: only hook for internal usage

This commit is contained in:
shagu
2019-07-23 21:19:30 +02:00
parent e13b0a2493
commit 2d9c89bcd9
+1 -1
View File
@@ -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