From cde14f868623257512a9136152a0e3bd0539ecf1 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 10 Feb 2015 22:32:58 +1100 Subject: [PATCH] *and this --- .../main/java/com/intellectualcrafters/plot/PlotMain.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java index 66b15c39e..bf8035792 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java @@ -1347,6 +1347,7 @@ public class PlotMain extends JavaPlugin implements Listener { setupLogger(); // Setup translations C.setupTranslations(); + C.saveTranslations(); // Check for outdated java version. if (getJavaVersion() < 1.7) { sendConsoleSenderMessage(C.PREFIX.s() + "&cYour java version is outdated. Please update to at least 1.7."); @@ -1620,13 +1621,6 @@ public class PlotMain extends JavaPlugin implements Listener { */ @Override final public void onDisable() { - try { - C.saveTranslations(); - } catch (final Exception e) { - sendConsoleSenderMessage("Failed to save translations"); - Logger.add(LogLevel.DANGER, "Failed to save translations"); - e.printStackTrace(); - } Logger.add(LogLevel.GENERAL, "Logger disabled"); try { Logger.write();