Default frame supression.
In one of my mods i need to ensure that the default petframe does not ever show up. Until now I have been accomplishing this by using PetFrame:Hide() on load and on update. I'm sure there has to be a more effecient method of making sure the frame never even registers.
Any thoughts? |
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. |
All times are GMT -6. The time now is 04:24 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI