Added missing MysqlHander.init() call
This commit is contained in:
parent
7d058d8379
commit
d89761c436
@ -6,6 +6,7 @@ import com.redstoner.annotations.Version;
|
|||||||
import com.redstoner.coremods.debugger.Debugger;
|
import com.redstoner.coremods.debugger.Debugger;
|
||||||
import com.redstoner.coremods.moduleLoader.ModuleLoader;
|
import com.redstoner.coremods.moduleLoader.ModuleLoader;
|
||||||
import com.redstoner.misc.mysql.FolderRegistry;
|
import com.redstoner.misc.mysql.FolderRegistry;
|
||||||
|
import com.redstoner.misc.mysql.MysqlHandler;
|
||||||
import com.redstoner.modules.adminchat.Adminchat;
|
import com.redstoner.modules.adminchat.Adminchat;
|
||||||
import com.redstoner.modules.adminnotes.AdminNotes;
|
import com.redstoner.modules.adminnotes.AdminNotes;
|
||||||
import com.redstoner.modules.chatgroups.Chatgroups;
|
import com.redstoner.modules.chatgroups.Chatgroups;
|
||||||
@ -22,7 +23,7 @@ import com.redstoner.modules.warn.Warn;
|
|||||||
/** Main class. Duh.
|
/** Main class. Duh.
|
||||||
*
|
*
|
||||||
* @author Pepich */
|
* @author Pepich */
|
||||||
@Version(major = 1, minor = 2, revision = 4, compatible = -1)
|
@Version(major = 1, minor = 2, revision = 5, compatible = -1)
|
||||||
public class Main extends JavaPlugin
|
public class Main extends JavaPlugin
|
||||||
{
|
{
|
||||||
public static JavaPlugin plugin;
|
public static JavaPlugin plugin;
|
||||||
@ -34,6 +35,7 @@ public class Main extends JavaPlugin
|
|||||||
Debugger.init();
|
Debugger.init();
|
||||||
ModuleLoader.init();
|
ModuleLoader.init();
|
||||||
FolderRegistry.init();
|
FolderRegistry.init();
|
||||||
|
MysqlHandler.init();
|
||||||
// TODO: ModuleLoader.addModule(Answerbot.class);
|
// TODO: ModuleLoader.addModule(Answerbot.class);
|
||||||
ModuleLoader.addModule(Adminchat.class);
|
ModuleLoader.addModule(Adminchat.class);
|
||||||
ModuleLoader.addModule(AdminNotes.class);
|
ModuleLoader.addModule(AdminNotes.class);
|
||||||
|
Reference in New Issue
Block a user