mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-28 12:56:05 +01:00
Postpone java version during startup
This commit is contained in:
parent
5d30e0854f
commit
62690c2a53
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user