fix colours not showing in MOTD. (Thanks xnotx123)

This commit is contained in:
UnknownShadow200 2017-12-25 15:11:16 +11:00
parent b6f53cf60f
commit 0f20b272a9

View File

@ -160,7 +160,7 @@ namespace MCGalaxy {
public void SendMapMotd() { public void SendMapMotd() {
string motd = level.GetMotd(this); string motd = level.GetMotd(this);
motd = ChatTokens.Apply(motd, this); motd = Chat.Format(motd, this);
byte[] packet = Packet.Motd(this, motd); byte[] packet = Packet.Motd(this, motd);
OnSendingMotdEvent.Call(this, packet); OnSendingMotdEvent.Call(this, packet);