summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLeaves.h
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-18 07:20:00 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-18 07:20:00 +0200
commit75d2f1a61b1625c030d68b25df48536332e04a02 (patch)
tree263cea9e22945975bf00a201d0eb53e3ca895e5c /src/Blocks/BlockLeaves.h
parentAPIDump: Removed an unneeded global variable. (diff)
parentFix sapling probability. (diff)
downloadcuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar.gz
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar.bz2
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar.lz
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar.xz
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.tar.zst
cuberite-75d2f1a61b1625c030d68b25df48536332e04a02.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockLeaves.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockLeaves.h b/src/Blocks/BlockLeaves.h
index bd9a7414e..8e44c94ac 100644
--- a/src/Blocks/BlockLeaves.h
+++ b/src/Blocks/BlockLeaves.h
@@ -41,7 +41,7 @@ public:
cFastRandom rand;
// Old leaves - 3 bits contain display; new leaves - 1st bit, shifted left two for saplings to understand
- if (rand.NextInt(6) == 0)
+ if (rand.NextInt(20) == 0)
{
a_Pickups.push_back(
cItem(