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

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
Bukkit/Spigot 2011-05-15 20:07:53 -04:00
parent 8afcd239d8
commit 940c9f9974

View file

@ -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());
}