diff options
Diffstat (limited to 'source/Enchantments.cpp')
-rw-r--r-- | source/Enchantments.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/Enchantments.cpp b/source/Enchantments.cpp index 57079b734..08a24d8f3 100644 --- a/source/Enchantments.cpp +++ b/source/Enchantments.cpp @@ -203,6 +203,15 @@ bool cEnchantments::operator ==(const cEnchantments & a_Other) const +bool cEnchantments::operator !=(const cEnchantments & a_Other) const
+{
+ return m_Enchantments != a_Other.m_Enchantments;
+}
+
+
+
+
+
void cEnchantments::WriteToNBTCompound(cFastNBTWriter & a_Writer, const AString & a_ListTagName) const
{
// Write the enchantments into the specified NBT writer
|