Commit 9a01461e authored by Darth Predator's avatar Darth Predator

LibElvUIPlugin: What if I want a plugin with no callback? Line 123 has the...

LibElvUIPlugin: What if I want a plugin with no callback? Line 123 has the check, why not here as well?
parent a2892ff9
......@@ -95,7 +95,7 @@ function lib:RegisterPlugin(name, callback, isLib)
ElvUI[1].Options.args.plugins.args.plugins.name = lib:GeneratePluginList()
end
callback()
if callback then callback() end
end
return plugin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment