From 39602997c0feda0ea40567bbbf71caf971f7d2f6 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 16 Oct 2013 18:04:28 +1030 Subject: [PATCH] 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. By: Luke A --- paper-api/src/main/java/org/bukkit/command/Command.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/command/Command.java b/paper-api/src/main/java/org/bukkit/command/Command.java index a04c870153..073f1acf80 100644 --- a/paper-api/src/main/java/org/bukkit/command/Command.java +++ b/paper-api/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);