summaryrefslogtreecommitdiffstats
path: root/src/GameState.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2020-07-27 01:13:39 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2020-07-28 00:36:42 +0200
commit4f5749b2a45313708f800e609abff971ba7e47b4 (patch)
tree56d53ca33dd54e492abfd56f093bda1f531bd4b4 /src/GameState.cpp
parentMerge pull request #43 from LaG1924/ftr/dimensions_support (diff)
downloadAltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar.gz
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar.bz2
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar.lz
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar.xz
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.tar.zst
AltCraft-4f5749b2a45313708f800e609abff971ba7e47b4.zip
Diffstat (limited to 'src/GameState.cpp')
-rw-r--r--src/GameState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameState.cpp b/src/GameState.cpp
index 8e50ee6..fdb453f 100644
--- a/src/GameState.cpp
+++ b/src/GameState.cpp
@@ -150,7 +150,7 @@ void GameState::UpdatePacket(std::shared_ptr<Packet> ptr) {
case ChatMessageCB: {
auto packet = std::static_pointer_cast<PacketChatMessageCB>(ptr);
- LOG(INFO) << "Message (" << int(packet->Position) << "): " << packet->JsonData.text;
+ LOG(INFO) << "Message (" << int(packet->Position) << "): " << packet->JsonData.ToPlainText();
PUSH_EVENT("ChatMessageReceived", std::make_tuple(packet->JsonData, packet->Position));
break;
}