From d8ac6115c77e0058553f1b023de7a588c3f9065f Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Fri, 10 May 2019 17:16:48 -0400 Subject: [PATCH] I never thought it would come to this --- .../intellectualsites/plotsquared/bukkit/BukkitMain.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java index 3411e85ba..b8cc83032 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java @@ -115,7 +115,12 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain } @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(); PlotPlayer.registerConverter(Player.class, BukkitUtil::getPlayer);