meteor-addon-template
meteor-addon-template copied to clipboard
can't get an option from a module
when i try to get the class it says this:
i really don't think this is ment to happen.
nevermind. you just can't get an instance. it always returns null
HELPPPPP
@anthony1204 is this still a problem? I don't think you know how modules work as settings are basic as hell.
Module module = Modules.get().get("module-name");
Setting<?> testSetting = module.settings.get("test");
double testValue = (double) testSetting.get();
Change it from double to whatever the type of value you want
Correct fetch/implementation shown by the user above.