From f9cd54c445618f863686329836aae4ccf5dfda88 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Thu, 8 Oct 2020 20:54:06 +0200 Subject: [PATCH] Shift logger.info -> error when running in an outdated environment --- .../main/java/com/plotsquared/bukkit/BukkitPlatform.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java index 720602f72..c09bc47df 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java @@ -140,7 +140,6 @@ import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.io.File; import java.lang.reflect.Method; -import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; @@ -236,9 +235,9 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl final PlotSquared plotSquared = new PlotSquared(this, "Bukkit"); if (PlotSquared.platform().getServerVersion()[1] < 13) { - logger.info("You can't use this version of PlotSquared on a server less than Minecraft 1.13.2."); - logger.info("Please check the download page for the link to the legacy versions."); - logger.info("The server will now be shutdown to prevent any corruption."); + 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; }