diff options
author | madmaxoft <github@xoft.cz> | 2013-11-10 21:42:56 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-10 21:42:56 +0100 |
commit | dde491ee0e3663440f05165f140e9086f68c69bf (patch) | |
tree | 4bec6ba6a6a60ff53fe3f2c7c9990fd4059cde5e /source/Item.h | |
parent | Renamed variables in cWolf. (diff) | |
parent | Implemented inventory dblclick. (diff) | |
download | cuberite-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.h | 3 |
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 |