diff options
author | Luke A <stuntguy3000@gmail.com> | 2013-10-16 18:04:28 +1030 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-10-19 20:41:00 -0500 |
commit | 764ea2ec87d7edfeee3927795fb00ce707a192ab (patch) | |
tree | b54590534ef248b073ac27a18526f4fa4cf4606d /src/main/java/org | |
parent | 8a93661d2d0fa4a65885b928fe9a2c4de98ffacf (diff) | |
download | bukkit-764ea2ec87d7edfeee3927795fb00ce707a192ab.tar bukkit-764ea2ec87d7edfeee3927795fb00ce707a192ab.tar.gz bukkit-764ea2ec87d7edfeee3927795fb00ce707a192ab.tar.lz bukkit-764ea2ec87d7edfeee3927795fb00ce707a192ab.tar.xz bukkit-764ea2ec87d7edfeee3927795fb00ce707a192ab.zip |
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.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/command/Command.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); |