summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 19:38:00 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 19:38:00 +0200
commitd5306f265b817f516a4c9de59a6605bb7fee0ae6 (patch)
tree42e2cad05899d63f2471578b20313583ca570a70
parentFixed farmland issues. (diff)
downloadcuberite-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
-rw-r--r--src/Blocks/BlockGravel.h6
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);
+ }
}
} ;