diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-13 01:21:43 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-13 01:21:43 +0200 |
commit | 69afc4dbba9ea22ed53756d0ec2b8ff138ddf781 (patch) | |
tree | 237871b3c615fa6e1f96b89133d3d6df4e2360dd /src/Blocks/BlockGravel.h | |
parent | Merge branch 'master' into 1.8-Protocol (diff) | |
parent | Fixed friction being applied whilst airborne (diff) | |
download | cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.gz cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.bz2 cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.lz cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.xz cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.zst cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.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); + } } } ; |