mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Disable colored chat
This commit is contained in:
parent
7c12a20a2b
commit
10bf03f81b
@ -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);
|
String partial = ChatColor.translateAlternateColorCodes('&',format.replace("%plot_id%", id.x + ";" + id.y).replace("%sender%", sender));
|
||||||
full = ChatColor.translateAlternateColorCodes('&', full);
|
String full = partial.replace("%msg%", message);
|
||||||
for (Player receiver : recipients) {
|
for (Player receiver : recipients) {
|
||||||
receiver.sendMessage(full);
|
receiver.sendMessage(full);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user