mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
Remove redundant legacy version check
"api-version" backs us up here.
This commit is contained in:
parent
e8642df674
commit
70fb86a1c3
@ -238,14 +238,6 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
|||||||
|
|
||||||
final PlotSquared plotSquared = new PlotSquared(this, "Bukkit");
|
final PlotSquared plotSquared = new PlotSquared(this, "Bukkit");
|
||||||
|
|
||||||
if (PlotSquared.platform().serverVersion()[1] < 13) {
|
|
||||||
logger.error("You can't use this version of PlotSquared on a server less than Minecraft 1.13.2.");
|
|
||||||
logger.error("Please check the download page for the link to the legacy versions.");
|
|
||||||
logger.error("The server will now be shutdown to prevent any corruption.");
|
|
||||||
Bukkit.shutdown();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user