0

Made variable name in for loop more descriptive

This commit is contained in:
Pepich 2017-02-02 18:55:33 +01:00
parent 94d5b609ff
commit d8ad4495d2

View File

@ -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();
}
}
}
}