diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:38:00 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:38:00 +0200 |
commit | d5306f265b817f516a4c9de59a6605bb7fee0ae6 (patch) | |
tree | 42e2cad05899d63f2471578b20313583ca570a70 /src/Blocks/BlockGravel.h | |
parent | Fixed farmland issues. (diff) | |
download | cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar.gz cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar.bz2 cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar.lz cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar.xz cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.tar.zst cuberite-d5306f265b817f516a4c9de59a6605bb7fee0ae6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockGravel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Blocks/BlockGravel.h b/src/Blocks/BlockGravel.h index 3a9fbd170..d076306fb 100644 --- a/src/Blocks/BlockGravel.h +++ b/src/Blocks/BlockGravel.h @@ -18,13 +18,15 @@ public: virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { - a_Pickups.Add(E_BLOCK_GRAVEL, 1, 0); - cFastRandom Random; if (Random.NextInt(30) == 0) { a_Pickups.Add(E_ITEM_FLINT, 1, 0); } + else + { + a_Pickups.Add(E_BLOCK_GRAVEL, 1, 0); + } } } ; |