MindHarvest is the name of a variable
Did you define its value anywhere? Probably no, so you defining ADDON_NAME as nil then trying to Disable an addon named nil. Just use the proposed code:
local ADDON_NAME = ...
or at least
local ADDON_NAME = "MindHarvest"
Last edited by Banknorris : 02-24-15 at 06:05 PM.
|