From 764ea2ec87d7edfeee3927795fb00ce707a192ab Mon Sep 17 00:00:00 2001 From: Luke A Date: Wed, 16 Oct 2013 18:04:28 +1030 Subject: 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. --- src/main/java/org/bukkit/command/Command.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java index a04c8701..073f1acf 100644 --- a/src/main/java/org/bukkit/command/Command.java +++ b/src/main/java/org/bukkit/command/Command.java @@ -345,7 +345,7 @@ public abstract class Command { } Set 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); -- cgit v1.2.3