Better save system

This commit is contained in:
Olof Larsson
2011-03-22 22:31:04 +01:00
parent 39a02f0fd4
commit 8bab4540cd
12 changed files with 37 additions and 42 deletions

View File

@@ -67,7 +67,8 @@ public class Conf {
// -------------------------------------------- //
public static boolean save() {
Factions.log("Saving config to disk.");
//Factions.log("Saving config to disk.");
try {
DiscUtil.write(file, Factions.gson.toJson(new Conf()));
} catch (IOException e) {