summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-10 21:42:56 +0100
committermadmaxoft <github@xoft.cz>2013-11-10 21:42:56 +0100
commitdde491ee0e3663440f05165f140e9086f68c69bf (patch)
tree4bec6ba6a6a60ff53fe3f2c7c9990fd4059cde5e /source/Item.h
parentRenamed variables in cWolf. (diff)
parentImplemented inventory dblclick. (diff)
downloadcuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar.gz
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar.bz2
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar.lz
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar.xz
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.tar.zst
cuberite-dde491ee0e3663440f05165f140e9086f68c69bf.zip
Diffstat (limited to 'source/Item.h')
-rw-r--r--source/Item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Item.h b/source/Item.h
index fee861050..c60d0542c 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -132,6 +132,9 @@ public:
/// Returns true if the item is stacked up to its maximum stacking.
bool IsFullStack(void) const;
+
+ /// Returns the maximum amount of stacked items of this type.
+ char GetMaxStackSize(void) const;
// tolua_end