diff options
author | madmaxoft <github@xoft.cz> | 2014-03-30 23:13:13 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-30 23:13:13 +0200 |
commit | 8288e53c0be9f4f746a045d5ce8fca6bf6799824 (patch) | |
tree | adef764ead23457fe7963596d0e9c181fa879f7e /src/Blocks/BlockStems.h | |
parent | Fixed a few clang warnings. (diff) | |
download | cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar.gz cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar.bz2 cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar.lz cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar.xz cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.tar.zst cuberite-8288e53c0be9f4f746a045d5ce8fca6bf6799824.zip |
Diffstat (limited to 'src/Blocks/BlockStems.h')
-rw-r--r-- | src/Blocks/BlockStems.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockStems.h b/src/Blocks/BlockStems.h index 705436345..b726a0901 100644 --- a/src/Blocks/BlockStems.h +++ b/src/Blocks/BlockStems.h @@ -17,9 +17,10 @@ public: { } + virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { - int ItemType = (m_BlockType == E_BLOCK_MELON_STEM) ? E_ITEM_MELON_SEEDS : E_ITEM_PUMPKIN_SEEDS; + short ItemType = (m_BlockType == E_BLOCK_MELON_STEM) ? E_ITEM_MELON_SEEDS : E_ITEM_PUMPKIN_SEEDS; a_Pickups.push_back(cItem(ItemType, 1, 0)); } |