summaryrefslogtreecommitdiffstats
path: root/source/Enchantments.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-02 23:21:32 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-02 23:21:32 +0200
commit73f787feb328ffe349d803ca01363ba57178760b (patch)
treef3be3b285756e5d56aa602924dd4eee0db14735d /source/Enchantments.cpp
parentShift + click doesn't "destroy" item enchantment (diff)
downloadcuberite-73f787feb328ffe349d803ca01363ba57178760b.tar
cuberite-73f787feb328ffe349d803ca01363ba57178760b.tar.gz
cuberite-73f787feb328ffe349d803ca01363ba57178760b.tar.bz2
cuberite-73f787feb328ffe349d803ca01363ba57178760b.tar.lz
cuberite-73f787feb328ffe349d803ca01363ba57178760b.tar.xz
cuberite-73f787feb328ffe349d803ca01363ba57178760b.tar.zst
cuberite-73f787feb328ffe349d803ca01363ba57178760b.zip
Diffstat (limited to 'source/Enchantments.cpp')
-rw-r--r--source/Enchantments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Enchantments.cpp b/source/Enchantments.cpp
index 69bf8f7eb..d0bf8c731 100644
--- a/source/Enchantments.cpp
+++ b/source/Enchantments.cpp
@@ -165,7 +165,7 @@ void cEnchantments::WriteToNBTCompound(cFastNBTWriter & a_Writer, const AString
-void cEnchantments::ParseFromNBT(cParsedNBT & a_NBT, int a_EnchListTagIdx)
+void cEnchantments::ParseFromNBT(const cParsedNBT & a_NBT, int a_EnchListTagIdx)
{
// Read the enchantments from the specified NBT list tag (ench or StoredEnchantments)