Use unicode hexadecimal for specials characters

Signed-off-by: MiLk <hello@emilienkenler.com>
This commit is contained in:
MiLk 2011-06-09 00:30:50 +02:00
parent 274cddd9ff
commit 7cea521e97
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ public class HeroWebChatComponent extends Component {
public void triggered(ChatEvent t) {
/* Let HeroChat take a look - only broadcast to players if it doesn't handle it */
if (!handler.sendWebMessageToHeroChat(t.name, t.message)) {
plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "§2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "§f") + t.message);
plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "\u00A72[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "\u00A7f") + t.message);
}
}
});