diff options
author | archshift <admin@archshift.com> | 2014-04-25 04:14:00 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-25 04:14:00 +0200 |
commit | 0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3 (patch) | |
tree | b0510a726c812f118c0e4830750d69395908cea4 | |
parent | Giants! (diff) | |
download | cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.gz cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.bz2 cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.lz cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.xz cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.zst cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.zip |
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 6ff944c01..d7520f969 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1924,6 +1924,8 @@ void cClientHandle::SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlock void cClientHandle::SendChat(const AString & a_Message, eMessageType a_ChatPrefix, const AString & a_AdditionalData) { + bool ShouldAppendChatPrefixes = true; + if (GetPlayer()->GetWorld() == NULL) { cWorld * World = cRoot::Get()->GetWorld(GetPlayer()->GetLoadedWorldName()); |