summaryrefslogtreecommitdiffstats
path: root/source/Enchantments.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Enchantments.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Enchantments.h b/source/Enchantments.h
index 6b3b4679b..96ebc1880 100644
--- a/source/Enchantments.h
+++ b/source/Enchantments.h
@@ -90,7 +90,7 @@ public:
void WriteToNBTCompound(cFastNBTWriter & a_Writer, const AString & a_ListTagName) const;
/// Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments)
- void ParseFromNBT(cParsedNBT & a_NBT, int a_EnchListTagIdx);
+ void ParseFromNBT(const cParsedNBT & a_NBT, int a_EnchListTagIdx);
protected:
/// Maps enchantment ID -> enchantment level