0

Updated to no longer contain module names

This commit is contained in:
Pepich 2017-02-01 12:33:16 +01:00
parent 3b043e094d
commit a7a3871a28

View File

@ -11,7 +11,7 @@ import com.redstoner.modules.chatgroups.Chatgroups;
/** Main class. Duh. /** Main class. Duh.
* *
* @author Pepich */ * @author Pepich */
@Version(major = 1, minor = 0, revision = 0, compatible = -1) @Version(major = 1, minor = 1, revision = 0, compatible = -1)
public class Main extends JavaPlugin public class Main extends JavaPlugin
{ {
public static JavaPlugin plugin; public static JavaPlugin plugin;
@ -23,8 +23,8 @@ public class Main extends JavaPlugin
Debugger.init(); Debugger.init();
ModuleLoader.init(); ModuleLoader.init();
// TODO: Add modules (this also loads them if necessary) // TODO: Add modules (this also loads them if necessary)
ModuleLoader.addModule(Adminchat.class, "Adminchat"); ModuleLoader.addModule(Adminchat.class);
ModuleLoader.addModule(Chatgroups.class, "Chatrgoups"); ModuleLoader.addModule(Chatgroups.class);
// And enable them // And enable them
ModuleLoader.enableModules(); ModuleLoader.enableModules();
} }