Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Display command-message closing bracket correctly. Fixes BUKKIT-4894
Browse files Browse the repository at this point in the history
This commit adds proper formatting to the closing bracket used when certain
commands send messages to all players with the broadcast-channel
permission.
  • Loading branch information
stuntguy3000 authored and Wolvereness committed Oct 20, 2013
1 parent 0195253 commit b7eaa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/command/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public static void broadcastCommandMessage(CommandSender source, String message,
}

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);
Expand Down

0 comments on commit b7eaa4a

Please sign in to comment.