summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.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/WSSAnvil.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 'src/WorldStorage/WSSAnvil.cpp')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 702b809fb..25661de76 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -640,7 +640,7 @@ bool cWSSAnvil::LoadItemFromNBT(cItem & a_Item, const cParsedNBT & a_NBT, int a_
int EnchTag = a_NBT.FindChildByName(TagTag, EnchName);
if (EnchTag > 0)
{
- cEnchantmentSerializer::ParseFromNBT(a_Item.m_Enchantments, a_NBT, EnchTag);
+ EnchantmentSerializer::ParseFromNBT(a_Item.m_Enchantments, a_NBT, EnchTag);
}
return true;