1
0

Fix sapling probability.

Probability is 5% of leaves drop a sapling.

This should really be different for jungle leaves (2.5%) and the Fortune enchantment should increase the probability.
This commit is contained in:
Alexander Harkness 2015-05-17 14:23:16 +01:00
parent 519677c847
commit d48825fa81

View File

@ -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(