mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Disable colored chat
This commit is contained in:
parent
7c12a20a2b
commit
10bf03f81b
1 changed files with 2 additions and 2 deletions
|
@ -603,8 +603,8 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||
}
|
||||
}
|
||||
}
|
||||
String full = format.replace("%plot_id%", id.x + ";" + id.y).replace("%sender%", sender).replace("%msg%", message);
|
||||
full = ChatColor.translateAlternateColorCodes('&', full);
|
||||
String partial = ChatColor.translateAlternateColorCodes('&',format.replace("%plot_id%", id.x + ";" + id.y).replace("%sender%", sender));
|
||||
String full = partial.replace("%msg%", message);
|
||||
for (Player receiver : recipients) {
|
||||
receiver.sendMessage(full);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue