Originally Posted by Sordrak
I guess i just ran into this here... LibAddonMenu present in an old version and me only supporting the new one.
No idea of how i should feel supporting both versions at the moment o_O
Thanks for the info btw.
|
I did it like described above.
First check if the global variable LibAddonMenu2 exists and use it for your local instance of LAM, and if not check if LibStub is loaded and load the lib via this way.
After this check if your local instance of LAM is there and if not abort your addon with an error message (e.g. use assert() function to do so).