diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-06-19 18:11:24 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-06-19 20:18:44 +0200 |
commit | 9201c7be7a77a77cf0f8f2c1cf5019d8969393c8 (patch) | |
tree | 53faea46596c8e438de1a8051c5d8e0e642c491c /src/Blocks | |
parent | MSVC Debug builds: Added operator new redirection to provide more info. (#3781) (diff) | |
download | cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar.gz cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar.bz2 cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar.lz cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar.xz cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.tar.zst cuberite-9201c7be7a77a77cf0f8f2c1cf5019d8969393c8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockBigFlower.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Blocks/BlockBigFlower.h b/src/Blocks/BlockBigFlower.h index b25d65258..3b3065f87 100644 --- a/src/Blocks/BlockBigFlower.h +++ b/src/Blocks/BlockBigFlower.h @@ -49,7 +49,10 @@ public: NIBBLETYPE Meta = a_BlockMeta & 0x7; if (Meta == E_META_BIG_FLOWER_DOUBLE_TALL_GRASS) { - a_Pickups.push_back(cItem(E_ITEM_SEEDS)); + if (GetRandomProvider().RandBool(1.0 / 24.0)) + { + a_Pickups.push_back(cItem(E_ITEM_SEEDS)); + } } else if (Meta != E_META_BIG_FLOWER_LARGE_FERN) { |