summaryrefslogtreecommitdiffstats
path: root/source/Enchantments.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Enchantments.h')
-rw-r--r--source/Enchantments.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Enchantments.h b/source/Enchantments.h
index 0b720c4e1..30c2fe7b7 100644
--- a/source/Enchantments.h
+++ b/source/Enchantments.h
@@ -90,6 +90,9 @@ public:
/// Returns true if a_Other contains exactly the same enchantments and levels
bool operator ==(const cEnchantments & a_Other) const;
+ /// Returns true if a_Other doesn't contain exactly the same enchantments and levels
+ bool operator !=(const cEnchantments & a_Other) const;
+
// tolua_end
/// Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or "StoredEnchantments")