Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx!

This commit is contained in:
EvilSeph 2011-05-15 20:07:53 -04:00
parent 6590ff82f4
commit 12578557ad

View File

@ -237,7 +237,7 @@ public final class SimpleCommandMap implements CommandMap {
pluginList.append(", "); pluginList.append(", ");
} }
pluginList.append(ChatColor.GREEN); pluginList.append(plugin.isEnabled() ? ChatColor.GREEN : ChatColor.RED);
pluginList.append(plugin.getDescription().getName()); pluginList.append(plugin.getDescription().getName());
} }