Soon to be used JarLoader.

This commit is contained in:
Olof Larsson
2011-07-27 22:56:45 +02:00
parent 71922b7be3
commit 6e9fd72612
100 changed files with 107 additions and 12326 deletions

View File

@@ -180,7 +180,7 @@ public class Conf {
//Factions.log("Saving config to disk.");
try {
DiscUtil.write(file, Factions.gson.toJson(new Conf()));
DiscUtil.write(file, Factions.instance.gson.toJson(new Conf()));
} catch (Exception e) {
e.printStackTrace();
Factions.log("Failed to save the config to disk.");
@@ -199,7 +199,7 @@ public class Conf {
}
try {
Factions.gson.fromJson(DiscUtil.read(file), Conf.class);
Factions.instance.gson.fromJson(DiscUtil.read(file), Conf.class);
} catch (Exception e) {
e.printStackTrace();
Factions.log("Failed to load the config from disk.");