This should be first

This commit is contained in:
boy0001 2014-11-28 18:55:08 +11:00
parent bc81d5a0d1
commit a028f4685b

View File

@ -1380,6 +1380,8 @@ public class PlotMain extends JavaPlugin {
final public void onEnable() { final public void onEnable() {
// Setup the logger mechanics // Setup the logger mechanics
setupLogger(); setupLogger();
// Setup translations
C.setupTranslations();
// Check for outdated java version. // Check for outdated java version.
if (getJavaVersion() < 1.7) { if (getJavaVersion() < 1.7) {
sendConsoleSenderMessage(C.PREFIX.s() + "&cYour java version is outdated. Please update to at least 1.7."); sendConsoleSenderMessage(C.PREFIX.s() + "&cYour java version is outdated. Please update to at least 1.7.");
@ -1390,8 +1392,6 @@ public class PlotMain extends JavaPlugin {
} else if (getJavaVersion() < 1.8) { } else if (getJavaVersion() < 1.8) {
sendConsoleSenderMessage(C.PREFIX.s() + "&cIt's really recommended to run Java 1.8, as it increases performance"); sendConsoleSenderMessage(C.PREFIX.s() + "&cIt's really recommended to run Java 1.8, as it increases performance");
} }
// Setup configurations
C.setupTranslations();
// Setup configuration // Setup configuration
configs(); configs();
// Setup metrics // Setup metrics