mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
I never thought it would come to this
This commit is contained in:
parent
885d1b9d7e
commit
d8ac6115c7
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue