diff --git a/src/com/redstoner/coremods/ModuleLoader/ModuleLoader.java b/src/com/redstoner/coremods/ModuleLoader/ModuleLoader.java index 9aab74a..033b371 100644 --- a/src/com/redstoner/coremods/ModuleLoader/ModuleLoader.java +++ b/src/com/redstoner/coremods/ModuleLoader/ModuleLoader.java @@ -49,7 +49,9 @@ public final class ModuleLoader implements CoreModule Debugger.notifyMethod(clazz); try { - modules.add(clazz.newInstance()); + Module module = clazz.newInstance(); + modules.add(module); + CommandManager.registerCommand(module.getCommandString(), module, Main.plugin); } catch (InstantiationException | IllegalAccessException e) {