From f1184be241bb93d5048e8d68677d79e0ab0b413b Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 1 Sep 2020 20:50:04 +0100 Subject: [PATCH] Made paper check more obvious to users --- .../com/willfp/ecoenchants/loader/Loader.java | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java index e119671e..a2d33290 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java @@ -72,16 +72,18 @@ public class Loader { } catch (ClassNotFoundException ignored) {} if (!isPapermc) { - Bukkit.getLogger().info(""); - Bukkit.getLogger().info("----------------------------"); - Bukkit.getLogger().info(""); - Bukkit.getLogger().severe("You don't seem to be running paper!"); - Bukkit.getLogger().severe("Paper is strongly recommended for all servers,"); - Bukkit.getLogger().severe("and enchantments like Drill may not function properly without it"); - Bukkit.getLogger().severe("Download Paper from §fhttps://papermc.io"); - Bukkit.getLogger().info(""); - Bukkit.getLogger().info("----------------------------"); - Bukkit.getLogger().info(""); + Bukkit.getScheduler().runTaskLater(EcoEnchantsPlugin.getInstance(), () -> { + Bukkit.getLogger().info(""); + Bukkit.getLogger().info("----------------------------"); + Bukkit.getLogger().info(""); + Bukkit.getLogger().severe("You don't seem to be running paper!"); + Bukkit.getLogger().severe("Paper is strongly recommended for all servers,"); + Bukkit.getLogger().severe("and enchantments like Drill may not function properly without it"); + Bukkit.getLogger().severe("Download Paper from §fhttps://papermc.io"); + Bukkit.getLogger().info(""); + Bukkit.getLogger().info("----------------------------"); + Bukkit.getLogger().info(""); + }, 1); } /*