View Bug Report
Incompatiable versions
Bug #: 1386
File: MyMinimapButton
Date: 06-10-06 12:23 AM
By: rophy
Status: Unconfirmed
I used MyMinimapButton 0.4 on my addon, and then I downloaded OnEventWatch which uses MyMinimapButton 0.7.

And when login this error showed up:

Code:
Interface\AddOns\SimpleCombatLog\SimpleCombatLog.lua:282: attempt to call method 'Enable' (a nil value)
At line 282 it is :
Code:
MyMinimapButton:Enable("SimpleCombatLog")
And obviously the reason is that MyMinimapButton 0.7 does't have the Enable() method.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: rophy - 06-10-06 12:31 AM
btw, why don't just use the GetInstance() method which all other libraries are using?