From 940c9f9974ef58554b8b2d1c745496d90d86ba0a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 15 May 2011 20:07:53 -0400 Subject: [PATCH] Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx! By: EvilSeph --- .../src/main/java/org/bukkit/command/SimpleCommandMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java b/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java index db8a3b918d..a194ece9bb 100644 --- a/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java +++ b/paper-api/src/main/java/org/bukkit/command/SimpleCommandMap.java @@ -237,7 +237,7 @@ public final class SimpleCommandMap implements CommandMap { pluginList.append(", "); } - pluginList.append(ChatColor.GREEN); + pluginList.append(plugin.isEnabled() ? ChatColor.GREEN : ChatColor.RED); pluginList.append(plugin.getDescription().getName()); }