On the face of it it looks like it should work but what's here obviously isn't the entire addon.
If you cut the addon down (create a test addon) to just this code and it works then the problem is elsewhere.
Things like adding events (event functions) to the addon table is possibly prone to having them overwritten somewhere else (another .lua module).
|