diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-19 17:52:45 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-19 17:52:45 +0100 |
commit | f13a14d2cf4a7858c22fe003acff6753d0d50ba1 (patch) | |
tree | f5be449d907c142d6560fb025db11bc6d01dc147 /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Spilt Writing of Enchantments to seperate class (diff) | |
download | cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar.gz cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar.bz2 cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar.lz cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar.xz cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.tar.zst cuberite-f13a14d2cf4a7858c22fe003acff6753d0d50ba1.zip |
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index 51e1a8d1b..91cc6b06d 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -92,7 +92,7 @@ void cNBTChunkSerializer::AddItem(const cItem & a_Item, int a_Slot, const AStrin { const char * TagName = (a_Item.m_ItemType == E_ITEM_BOOK) ? "StoredEnchantments" : "ench"; m_Writer.BeginCompound("tag"); - cEnchantmentSerializer::WriteToNBTCompound(a_Item.m_Enchantments, m_Writer, TagName); + EnchantmentSerializer::WriteToNBTCompound(a_Item.m_Enchantments, m_Writer, TagName); m_Writer.EndCompound(); } |