mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 05:31:32 +01:00
Made SayCommand display output in purple, as per vanilla spec.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
a17998c2c7
commit
3b756e3464
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ public class SayCommand extends VanillaCommand {
|
||||||
if (!(sender instanceof ConsoleCommandSender)) {
|
if (!(sender instanceof ConsoleCommandSender)) {
|
||||||
Bukkit.getLogger().info("[" + sender.getName() + "] " + message);
|
Bukkit.getLogger().info("[" + sender.getName() + "] " + message);
|
||||||
}
|
}
|
||||||
|
|
||||||
Bukkit.broadcastMessage("[Server] " + message);
|
Bukkit.broadcastMessage(ChatColor.LIGHT_PURPLE + "[Server] " + message);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue