Well this is a better solution than an OnUpdate, but it's probably not the best:
oldMyMod_PetFrame_Update = PetFrame_Update
PetFrame_Update = function() oldMyMod_PetFrame_Update() PetFrame:Hide() end
I'm not sure what's involved in the pet frame but the above method will hide it every time it shows the frame.
|