summaryrefslogtreecommitdiffstats
path: root/source/Enchantments.cpp
diff options
context:
space:
mode:
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)