This commit is contained in:
boy0001 2015-02-23 11:33:48 +11:00
parent d1e9ccb3e8
commit 430f4fca41
12 changed files with 49 additions and 51 deletions

View file

@ -721,7 +721,7 @@ public class PlotSquared {
setupStyle();
} catch (final Exception err) {
Logger.add(LogLevel.DANGER, "Failed to save style.yml");
System.out.println("failed to save style.yml");
log("failed to save style.yml");
}
try {
configFile = new File(IMP.getDirectory() + File.separator + "config" + File.separator + "settings.yml");
@ -734,7 +734,7 @@ public class PlotSquared {
setupConfig();
} catch (final Exception err_trans) {
Logger.add(LogLevel.DANGER, "Failed to save settings.yml");
System.out.println("Failed to save settings.yml");
log("Failed to save settings.yml");
}
try {
storageFile = new File(IMP.getDirectory() + File.separator + "config" + File.separator + "storage.yml");
@ -747,7 +747,7 @@ public class PlotSquared {
setupStorage();
} catch (final Exception err_trans) {
Logger.add(LogLevel.DANGER, "Failed to save storage.yml");
System.out.println("Failed to save storage.yml");
log("Failed to save storage.yml");
}
try {
style.save(styleFile);