mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
This should be first
This commit is contained in:
parent
bc81d5a0d1
commit
a028f4685b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user