summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-04 23:07:26 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-04 23:07:26 +0200
commitf4e11d194e9e4a2e85a9f9688312ad08ade45b83 (patch)
tree1d5f2e405bd8a99bcfe298ecf89dcc8211861af2 /src/Protocol/Protocol17x.cpp
parentCompile fix (diff)
downloadcuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar.gz
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar.bz2
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar.lz
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar.xz
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.tar.zst
cuberite-f4e11d194e9e4a2e85a9f9688312ad08ade45b83.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 02c577dc8..109e5a67b 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -2334,7 +2334,7 @@ void cProtocol172::ParseItemMetadata(cItem & a_Item, const AString & a_Metadata)
for (int loretag = NBT.GetFirstChild(displaytag); loretag >= 0; loretag = NBT.GetNextSibling(loretag)) // Loop through array of strings
{
- AppendPrintf(Lore, "%s`", NBT.GetString(loretag).c_str()); // Append the lore with a newline, used internally by MCS to display a new line in the client; don't forget to c_str ;)
+ AppendPrintf(Lore, "%s`", NBT.GetString(loretag).c_str()); // Append the lore with a grave accent/backtick, used internally by MCS to display a new line in the client; don't forget to c_str ;)
}
a_Item.m_Lore = Lore;