Fix bug - bushes turning into berry bushes too quickly

This commit is contained in:
Cheeserolls 2015-05-29 18:54:35 +01:00
parent 6b5cdf3db6
commit a8b6fe6d0f
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ public class BlockBOPPlant extends BlockDecoration implements IShearable
{
case BUSH:
// every now and then berries grow on a bush
if (rand.nextInt(80) > 0 && worldIn.getLightFromNeighbors(pos.up()) >= 9)
if (rand.nextInt(80) == 0 && worldIn.getLightFromNeighbors(pos.up()) >= 9)
{
worldIn.setBlockState(pos, paging.getVariantState(BOPPlants.BERRYBUSH));
}