Ya, I copied from a quote earlier and didn't catch it undid a fix I had made in the post it was quoted from. I fixed it in the last post, but since this is going on a new page, I'll post it here too.
Lua Code:
local function TargetFrame_UpdateAuras(self)
for buff in self.auraPools:GetPool("TargetBuffFrameTemplate"):EnumerateActive() do
local data=C_UnitAuras.GetAuraDataByAuraInstanceID(buff.unit,buff.auraInstanceID);
buff.Stealable:SetShown(data.isStealable or data.dispelName=="Magic");
end
end
hooksecurefunc(TargetFrame,"UpdateAuras",TargetFrame_UpdateAuras);
hooksecurefunc(FocusFrame,"UpdateAuras",TargetFrame_UpdateAuras);