From d8ad4495d2a24751fa58d8e306ebd25c0eae298e Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 18:55:33 +0100 Subject: [PATCH] Made variable name in for loop more descriptive --- .../redstoner/coremods/moduleLoader/ModuleLoader.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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(); + } } } }