Display command-message closing bracket correctly. Fixes BUKKIT-4894

This commit adds proper formatting to the closing bracket used when certain
commands send messages to all players with the broadcast-channel
permission.
This commit is contained in:
Luke A
2013-10-16 18:04:28 +10:30
committed by Wesley Wolfe
parent 0195253083
commit b7eaa4a13f

View File

@@ -345,7 +345,7 @@ public abstract class Command {
}
Set<Permissible> users = Bukkit.getPluginManager().getPermissionSubscriptions(Server.BROADCAST_CHANNEL_ADMINISTRATIVE);
String colored = ChatColor.GRAY + "" + ChatColor.ITALIC + "[" + result + "]";
String colored = ChatColor.GRAY + "" + ChatColor.ITALIC + "[" + result + ChatColor.GRAY + ChatColor.ITALIC + "]";
if (sendToSource && !(source instanceof ConsoleCommandSender)) {
source.sendMessage(message);