From d89761c436a1cfb8eac656a52634c9acc88fc7ca Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 20:23:09 +0100 Subject: [PATCH] Added missing MysqlHander.init() call --- src/com/redstoner/misc/Main.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/redstoner/misc/Main.java b/src/com/redstoner/misc/Main.java index 6597de7..79130ff 100644 --- a/src/com/redstoner/misc/Main.java +++ b/src/com/redstoner/misc/Main.java @@ -6,6 +6,7 @@ import com.redstoner.annotations.Version; import com.redstoner.coremods.debugger.Debugger; import com.redstoner.coremods.moduleLoader.ModuleLoader; import com.redstoner.misc.mysql.FolderRegistry; +import com.redstoner.misc.mysql.MysqlHandler; import com.redstoner.modules.adminchat.Adminchat; import com.redstoner.modules.adminnotes.AdminNotes; import com.redstoner.modules.chatgroups.Chatgroups; @@ -22,7 +23,7 @@ import com.redstoner.modules.warn.Warn; /** Main class. Duh. * * @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 static JavaPlugin plugin; @@ -34,6 +35,7 @@ public class Main extends JavaPlugin Debugger.init(); ModuleLoader.init(); FolderRegistry.init(); + MysqlHandler.init(); // TODO: ModuleLoader.addModule(Answerbot.class); ModuleLoader.addModule(Adminchat.class); ModuleLoader.addModule(AdminNotes.class);