summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
committerworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
commit2d408e864706a4dd8d7c227edefd281f6a627895 (patch)
tree5ebe9e808e82c22a427429881526fb0ce390deb4 /src/Item.h
parentFixed display of helpmessage (diff)
parentchange from single followable item to multiple (diff)
downloadcuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.gz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.bz2
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.lz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.xz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.zst
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.zip
Diffstat (limited to 'src/Item.h')
-rw-r--r--src/Item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Item.h b/src/Item.h
index 8f47c4177..46b3c2ef1 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -239,6 +239,8 @@ public:
void Clear (void) {clear(); }
size_t Size (void) const { return size(); }
void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage);
+ bool Contains(const cItem & a_Item);
+ bool ContainsType(const cItem & a_Item);
void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage)
{