mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
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 <stuntguy3000@gmail.com>
This commit is contained in:
1 parent
2635e83011
commit
39602997c0
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user