diff --git a/build.gradle b/build.gradle index 37a612cf..185a160f 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ group= "morph" // http://maven.apache.org/guides/mini/guide-naming-conventions.h archivesBaseName = "Morph-Beta" minecraft { - version = "1.7.2-10.12.1.1061" + version = "1.7.2-10.12.2.1128" assetDir = "eclipse/assets" } processResources diff --git a/src/main/java/morph/common/ability/mod/AbilitySupport.java b/src/main/java/morph/common/ability/mod/AbilitySupport.java index 0ca4f6e6..ab732af3 100644 --- a/src/main/java/morph/common/ability/mod/AbilitySupport.java +++ b/src/main/java/morph/common/ability/mod/AbilitySupport.java @@ -69,6 +69,11 @@ public static AbilitySupport getInstance() Morph.console("ModMobSupport has invalid formatting! Mod mob abilities will be affected! Report this if the local file isn't used.", true); e.printStackTrace(); } + try + { + fileIn.close(); + } + catch(IOException e){} } if(instance == null) { diff --git a/src/main/java/morph/common/core/CommandMorph.java b/src/main/java/morph/common/core/CommandMorph.java index 0e38a6cb..22512550 100644 --- a/src/main/java/morph/common/core/CommandMorph.java +++ b/src/main/java/morph/common/core/CommandMorph.java @@ -238,7 +238,7 @@ else if(args[0].equalsIgnoreCase("whitelist")) } } Morph.config.get("whitelistedPlayers").set(sb1.toString()); - Morph.config.config.save(); + Morph.config.save(); } else { @@ -278,7 +278,7 @@ else if(args[0].equalsIgnoreCase("unwhitelist")) } } Morph.config.get("whitelistedPlayers").set(sb1.toString()); - Morph.config.config.save(); + Morph.config.save(); } else {