diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 23:07:26 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 23:07:26 +0200 |
commit | f4e11d194e9e4a2e85a9f9688312ad08ade45b83 (patch) | |
tree | 1d5f2e405bd8a99bcfe298ecf89dcc8211861af2 /src/Protocol/Protocol17x.cpp | |
parent | Compile fix (diff) | |
download | cuberite-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.cpp | 2 |
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; |