geforkt von Mirrors/Paper
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>
Dieser Commit ist enthalten in:
Ursprung
2635e83011
Commit
39602997c0
@ -345,7 +345,7 @@ public abstract class Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Set<Permissible> users = Bukkit.getPluginManager().getPermissionSubscriptions(Server.BROADCAST_CHANNEL_ADMINISTRATIVE);
|
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)) {
|
if (sendToSource && !(source instanceof ConsoleCommandSender)) {
|
||||||
source.sendMessage(message);
|
source.sendMessage(message);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren