diff options
author | mborland <matt.borland1@gmail.com> | 2013-11-11 00:33:58 +0100 |
---|---|---|
committer | mborland <matt.borland1@gmail.com> | 2013-11-11 00:33:58 +0100 |
commit | 3710d423acba9546adf441782eb6a17a081c9320 (patch) | |
tree | 9ad19a165d324101fd3c8a3c42665d397d77ee08 /source/Item.h | |
parent | VC2013 (diff) | |
parent | Fixed cRoot::FindAndDoWithPlayer(). (diff) | |
download | cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.gz cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.bz2 cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.lz cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.xz cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.zst cuberite-3710d423acba9546adf441782eb6a17a081c9320.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 |