diff --git a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java index 77e83ec..1a14906 100644 --- a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java +++ b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java @@ -21,7 +21,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 = 1, minor = 3, revision = 0, compatible = -1) +@Version(major = 1, minor = 3, revision = 1, compatible = -1) public final class ModuleLoader implements CoreModule { private static ModuleLoader instance; @@ -172,10 +172,12 @@ public final class ModuleLoader implements CoreModule public static void disableModules() { - for (Module m : modules) + for (Module module : modules) { - if (m.enabled()) - m.onDisable(); + if (module.enabled()) + { + module.onDisable(); + } } } }