View Single Post
09/12/20, 09:38 AM   #3
CoffeeMonster42
Join Date: Sep 2020
Posts: 2
It was working before, not 100% sure but i think changing api version in the manifest broke it.
I was also trying to implement a settings menu with libaddonmenu2

was 100029 and then changed to 100033

calling initialize here

Code:
function ShutupRillis.OnAddOnLoaded(event, addonName)
		
	if addonName == ShutupRillis.name then
		ShutupRillis:Initialize()		
	end
end

EVENT_MANAGER:RegisterForEvent(ShutupRillis.name, EVENT_ADD_ON_LOADED, ShutupRillis.OnAddOnLoaded)
The manifest that i think caused the problem
Code:
##Title: ShutupRillis
## APIVersion: 100032 100033
##Version: 2.01
##DependsOn: LibAddonMenu-2.0
##SavedVariables: ShutupRillisVars

ShutupRillis.lua
Settings.lua

Last edited by CoffeeMonster42 : 09/12/20 at 09:44 AM.
  Reply With Quote