From db55635f0dec5eee1bd6dde0c4bc80218446404c Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 4 Apr 2021 18:23:13 -0700 Subject: [PATCH] Tweak UP warning --- src/main/java/com/gmail/nossr50/mcMMO.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index cdeb9768b..7f05b0732 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -148,9 +148,6 @@ public class mcMMO extends JavaPlugin { public static FixedMetadataValue metadataValue; public static final String ULTRA_PERMISSONS = "UltraPermissons"; - public static final String UP_WARNING_2 = "Stop using " + ULTRA_PERMISSONS + " with mcMMO immediately!"; - public static final String UP_WARNING_1 = "mcMMO has detected " + ULTRA_PERMISSONS + " on your server, users have reported a severe plugin conflict between these two plugins which severely degrades server performance"; - public static final String UP_WARNING_3 = "The author of UltraPermissions has passed away and its unlikely this issue will ever be solved"; public mcMMO() { p = this; @@ -271,15 +268,7 @@ public class mcMMO extends JavaPlugin { } if(pluginManager.getPlugin(ULTRA_PERMISSONS) != null) { - Bukkit.getScheduler().runTaskTimer(this, () -> { - getLogger().severe(UP_WARNING_1); - getLogger().severe(UP_WARNING_2); - getLogger().severe(UP_WARNING_3); - - Bukkit.broadcastMessage(UP_WARNING_1); - Bukkit.broadcastMessage(UP_WARNING_2); - Bukkit.broadcastMessage(UP_WARNING_3); - }, 0L, 1200L); + getLogger().info("mcMMO has detected UltraPermissions is running, make sure to keep both mcMMO and UltraPermissions updated as older versions of UltraPermissions had performance degradation issues when used in conjunction with mcMMO"); } }