mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-25 16:45:28 +02:00
Postpone java version during startup
This commit is contained in:
@@ -243,9 +243,6 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check whether the server runs on 11 or greater
|
|
||||||
checkJavaVersion();
|
|
||||||
|
|
||||||
// We create the injector after PlotSquared has been initialized, so that we have access
|
// We create the injector after PlotSquared has been initialized, so that we have access
|
||||||
// to generated instances and settings
|
// to generated instances and settings
|
||||||
this.injector = Guice
|
this.injector = Guice
|
||||||
@@ -515,6 +512,9 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
|||||||
getLogger().warning("Failed to clean up players: " + e.getMessage());
|
getLogger().warning("Failed to clean up players: " + e.getMessage());
|
||||||
}
|
}
|
||||||
}, 100L, 100L);
|
}, 100L, 100L);
|
||||||
|
|
||||||
|
// Check whether the server runs on 11 or greater
|
||||||
|
checkJavaVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void unload() {
|
private void unload() {
|
||||||
|
Reference in New Issue
Block a user