summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_9.cpp
diff options
context:
space:
mode:
authormathiascode <mathiascode@users.noreply.github.com>2017-05-13 12:08:40 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-16 21:17:33 +0200
commitb02886a9010950e1bb320598568b7f5adafdd3ca (patch)
treecf45e4172a01ae61c441f4b177431487aadb70bb /src/Protocol/Protocol_1_9.cpp
parentVarInt metadata written correctly for boats (#3709) (diff)
downloadcuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar.gz
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar.bz2
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar.lz
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar.xz
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.tar.zst
cuberite-b02886a9010950e1bb320598568b7f5adafdd3ca.zip
Diffstat (limited to 'src/Protocol/Protocol_1_9.cpp')
-rw-r--r--src/Protocol/Protocol_1_9.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp
index 0b369f865..2a6c924b0 100644
--- a/src/Protocol/Protocol_1_9.cpp
+++ b/src/Protocol/Protocol_1_9.cpp
@@ -2162,7 +2162,7 @@ void cProtocol_1_9_0::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
ResponseValue["favicon"] = Printf("data:image/png;base64,%s", Favicon.c_str());
}
- Json::StyledWriter Writer;
+ Json::FastWriter Writer;
AString Response = Writer.write(ResponseValue);
cPacketizer Pkt(*this, 0x00); // Response packet
@@ -4156,7 +4156,7 @@ void cProtocol_1_9_1::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
ResponseValue["favicon"] = Printf("data:image/png;base64,%s", Favicon.c_str());
}
- Json::StyledWriter Writer;
+ Json::FastWriter Writer;
AString Response = Writer.write(ResponseValue);
cPacketizer Pkt(*this, 0x00); // Response packet
@@ -4213,7 +4213,7 @@ void cProtocol_1_9_2::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
ResponseValue["favicon"] = Printf("data:image/png;base64,%s", Favicon.c_str());
}
- Json::StyledWriter Writer;
+ Json::FastWriter Writer;
AString Response = Writer.write(ResponseValue);
cPacketizer Pkt(*this, 0x00); // Response packet
@@ -4270,7 +4270,7 @@ void cProtocol_1_9_4::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
ResponseValue["favicon"] = Printf("data:image/png;base64,%s", Favicon.c_str());
}
- Json::StyledWriter Writer;
+ Json::FastWriter Writer;
AString Response = Writer.write(ResponseValue);
cPacketizer Pkt(*this, 0x00); // Response packet