diff --git a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java index 0db7683..411b70c 100644 --- a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java +++ b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.java @@ -446,7 +446,8 @@ public final class ModuleLoader implements CoreModule modules.remove(m); try { - loaders.remove(m).close(); + if (loaders.containsKey(m)) + loaders.remove(m).close(); } catch (IOException e) {