summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-28 16:21:38 +0100
committermtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-28 16:21:38 +0100
commita5d64ae0ca29508d11ecc2f9455b9428ff156a55 (patch)
tree31be10810e535be71c19500a7c31db41f703a0c5
parentThis bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112 (diff)
downloadcuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar.gz
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar.bz2
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar.lz
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar.xz
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.tar.zst
cuberite-a5d64ae0ca29508d11ecc2f9455b9428ff156a55.zip
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_PlayerListItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_PlayerListItem.cpp b/source/packets/cPacket_PlayerListItem.cpp
index 2ddcf6799..03eea157d 100644
--- a/source/packets/cPacket_PlayerListItem.cpp
+++ b/source/packets/cPacket_PlayerListItem.cpp
@@ -24,7 +24,7 @@ bool cPacket_PlayerListItem::Send( cSocket & a_Socket )
int end = (len <= 16) ? len : 16;
m_PlayerName = m_PlayerName.substr(0, end);
if (len <= 14)
- m_PlayerName += cChatColor::MakeColor(cChatColor::White.c_str()[0]);
+ m_PlayerName += cChatColor::White; // mistakes happen when you code late night :P
unsigned int TotalSize = c_Size + m_PlayerName.size()*sizeof(short);
char* Message = new char[TotalSize];