Skip to content

Commit

Permalink
Update build.gradle.
Browse files Browse the repository at this point in the history
Change config save func.
  • Loading branch information
iChun committed Jun 21, 2014
1 parent e17343f commit b705cbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/morph/common/ability/mod/AbilitySupport.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/morph/common/core/CommandMorph.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit b705cbe

Please sign in to comment.