summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-19 17:52:45 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-19 17:52:45 +0100
commitf13a14d2cf4a7858c22fe003acff6753d0d50ba1 (patch)
treef5be449d907c142d6560fb025db11bc6d01dc147 /src/WorldStorage/NBTChunkSerializer.cpp
parentSpilt Writing of Enchantments to seperate class (diff)
downloadcuberite-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 '')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
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();
}