mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
I never thought it would come to this
This commit is contained in:
parent
885d1b9d7e
commit
d8ac6115c7
@ -115,7 +115,12 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override public void onEnable() {
|
@Override public void onEnable() {
|
||||||
|
if (PlotSquared.get().IMP.getServerVersion()[1] < 13) {
|
||||||
|
PlotSquared.log("You can't use this version of PlotSquared on a server less than Minecraft 1.13.2.");
|
||||||
|
PlotSquared.log("Please check the download page for the link to the legacy versions.");
|
||||||
|
Bukkit.shutdown();
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.pluginName = getDescription().getName();
|
this.pluginName = getDescription().getName();
|
||||||
PlotPlayer.registerConverter(Player.class, BukkitUtil::getPlayer);
|
PlotPlayer.registerConverter(Player.class, BukkitUtil::getPlayer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user