diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 11:16:56 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 12:58:55 +0200 |
commit | 846d16315a8b5a81fbc37d66da4d1254038ec494 (patch) | |
tree | 2a7c873756a3063480a64a975491bd58d9538554 /src/Enchantments.h | |
parent | More style checking. (diff) | |
download | cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.gz cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.bz2 cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.lz cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.xz cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.zst cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Enchantments.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h index 9c1c54ae9..9d3f342d4 100644 --- a/src/Enchantments.h +++ b/src/Enchantments.h @@ -138,10 +138,10 @@ public: bool operator !=(const cEnchantments & a_Other) const; /** Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or "StoredEnchantments") */ - friend void EnchantmentSerializer::WriteToNBTCompound(cEnchantments const& a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName); + friend void EnchantmentSerializer::WriteToNBTCompound(const cEnchantments & a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName); /** Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments) */ - friend void EnchantmentSerializer::ParseFromNBT(cEnchantments& a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx); + friend void EnchantmentSerializer::ParseFromNBT(cEnchantments & a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx); protected: /** Maps enchantment ID -> enchantment level */ |