chat message manager: fix recoloring own name with spaces
This commit is contained in:
@@ -130,7 +130,7 @@ public class ChatMessageManager
|
|||||||
case PUBLICCHAT:
|
case PUBLICCHAT:
|
||||||
case MODCHAT:
|
case MODCHAT:
|
||||||
{
|
{
|
||||||
String sanitizedUsername = Text.removeTags(chatMessage.getName());
|
String sanitizedUsername = Text.removeTags(chatMessage.getName()).replace('\u00A0', ' ');
|
||||||
|
|
||||||
if (client.getLocalPlayer().getName().equals(sanitizedUsername))
|
if (client.getLocalPlayer().getName().equals(sanitizedUsername))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user