diff options
author | archshift <admin@archshift.com> | 2014-04-26 20:00:59 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-26 20:00:59 +0200 |
commit | 5a0625eccc5e6b3d7aa757b3596f85afa8b46640 (patch) | |
tree | 1f8637afef20a8e715bf7dee2847602d8b374d52 | |
parent | Further refactored, Reverted Minecart change (diff) | |
download | cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar.gz cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar.bz2 cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar.lz cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar.xz cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.tar.zst cuberite-5a0625eccc5e6b3d7aa757b3596f85afa8b46640.zip |
-rw-r--r-- | src/ClientHandle.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 78402d4d3..f7147fd2b 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -203,13 +203,13 @@ AString cClientHandle::FormatMessageType(bool ShouldAppendChatPrefixes, eMessage switch (a_ChatPrefix) { case mtCustom: return AString(); - case mtFailure: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Rose, cChatColor::White); - case mtInformation: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Yellow, cChatColor::White); - case mtSuccess: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Green, cChatColor::White); - case mtWarning: return FormatChatPrefix(ShouldAppendChatPrefixes, "[WARN]", cChatColor::Rose, cChatColor::White); - case mtFatal: return FormatChatPrefix(ShouldAppendChatPrefixes, "[FATAL]", cChatColor::Red, cChatColor::White); - case mtDeath: return FormatChatPrefix(ShouldAppendChatPrefixes, "[DEATH]", cChatColor::Gray, cChatColor::White); - case mtJoin: return FormatChatPrefix(ShouldAppendChatPrefixes, "[JOIN]", cChatColor::Yellow, cChatColor::White); + case mtFailure: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Rose, cChatColor::White); + case mtInformation: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Yellow, cChatColor::White); + case mtSuccess: return FormatChatPrefix(ShouldAppendChatPrefixes, "[INFO]", cChatColor::Green, cChatColor::White); + case mtWarning: return FormatChatPrefix(ShouldAppendChatPrefixes, "[WARN]", cChatColor::Rose, cChatColor::White); + case mtFatal: return FormatChatPrefix(ShouldAppendChatPrefixes, "[FATAL]", cChatColor::Red, cChatColor::White); + case mtDeath: return FormatChatPrefix(ShouldAppendChatPrefixes, "[DEATH]", cChatColor::Gray, cChatColor::White); + case mtJoin: return FormatChatPrefix(ShouldAppendChatPrefixes, "[JOIN]", cChatColor::Yellow, cChatColor::White); case mtLeave: return FormatChatPrefix(ShouldAppendChatPrefixes, "[LEAVE]", cChatColor::Yellow, cChatColor::White); case mtPrivateMessage: { |