diff options
author | Mattes D <github@xoft.cz> | 2014-01-07 17:41:13 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-07 17:41:13 +0100 |
commit | a87daa969e01ee3f27048ced3864c82c4e80af22 (patch) | |
tree | 5f58b341730fba9e456e7ae8d456f5de53b7aedd /src/Protocol/Protocol17x.cpp | |
parent | Disabled an unneeded MSVC warning. (diff) | |
parent | Avoid making copies of favicon string (diff) | |
download | cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.gz cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.bz2 cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.lz cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.xz cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.zst cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 7d1f723a3..4d08df2d9 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -1115,6 +1115,9 @@ void cProtocol172::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) AppendPrintf(Response, "\"description\":{\"text\":\"%s\"}", cRoot::Get()->GetServer()->GetDescription().c_str() ); + AppendPrintf(Response, "\"favicon\":\"data:image/png;base64,%s\"", + cRoot::Get()->GetServer()->GetFaviconData().c_str() + ); Response.append("}"); cPacketizer Pkt(*this, 0x00); // Response packet |