From 73f787feb328ffe349d803ca01363ba57178760b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 2 Jun 2013 21:21:32 +0000 Subject: Enchantments are now stored in Anvil world and in player inventory git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Enchantments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Enchantments.cpp') 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) -- cgit v1.2.3