From 4b17c3ac1a3e34e22e53ac5db247fb32c5a49c0e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 4 Jun 2013 11:59:20 +0000 Subject: Fixed cItem::IsStackableWith() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1547 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Enchantments.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Enchantments.h') 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") -- cgit v1.2.3