diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-09 10:50:38 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-09 10:50:38 +0200 |
commit | 372dbbb994a1414369fe38367d458a0c32866a79 (patch) | |
tree | 5cd564fbb0c4b7c0b47f3cb64594c34f9361f1dc /src/Protocol/Protocol17x.cpp | |
parent | Updated generator prefabs to current Gallery contents. (diff) | |
parent | Added extra space before comments (diff) | |
download | cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar.gz cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar.bz2 cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar.lz cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar.xz cuberite-372dbbb994a1414369fe38367d458a0c32866a79.tar.zst cuberite-372dbbb994a1414369fe38367d458a0c32866a79.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-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 df9c6b50d..855687269 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2333,7 +2333,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; |