From 29460573f7b79eb3930a8e54ed6033a1095a1236 Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 23 Mar 2017 11:33:40 +0100 Subject: [PATCH] Updated log outputs to API v3 --- .../redstoner/coremods/moduleLoader/ModuleLoader.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java index e5e3c62..0f170cf 100644 --- a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java +++ b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java @@ -24,7 +24,7 @@ import com.redstoner.modules.Module; /** The module loader, mother of all modules. Responsible for loading and taking care of all modules. * * @author Pepich */ -@Version(major = 3, minor = 0, revision = 0, compatible = 2) +@Version(major = 3, minor = 0, revision = 1, compatible = 2) public final class ModuleLoader implements CoreModule { private static ModuleLoader instance; @@ -74,7 +74,7 @@ public final class ModuleLoader implements CoreModule if (VersionHelper.isCompatible(VersionHelper.create(2, 0, 0, -1), module.getClass())) CommandManager.registerCommand(module.getCommandString(), module, Main.plugin); modules.put(module, true); - Utils.log("Loaded module " + module.getClass().getName()); + Utils.info("Loaded module " + module.getClass().getName()); } else Utils.error("Failed to load module " + module.getClass().getName()); @@ -85,7 +85,7 @@ public final class ModuleLoader implements CoreModule e.printStackTrace(); } } - Utils.log("Modules enabled, running post initialization."); + Utils.info("Modules enabled, running post initialization."); for (Module module : modules.keySet()) { if (modules.get(module)) @@ -128,7 +128,7 @@ public final class ModuleLoader implements CoreModule { Bukkit.getPluginManager().registerEvents((Listener) module, Main.plugin); } - Utils.log("Loaded module " + module.getClass().getName()); + Utils.info("Loaded module " + module.getClass().getName()); modules.put(module, true); return true; } @@ -149,7 +149,7 @@ public final class ModuleLoader implements CoreModule { Bukkit.getPluginManager().registerEvents((Listener) m, Main.plugin); } - Utils.log("Loaded module " + m.getClass().getName()); + Utils.info("Loaded module " + m.getClass().getName()); return true; } else