Skip to content

Commit

Permalink
Merge pull request #652 from CHeuberger/fixFruitTreeRainLevel
Browse files Browse the repository at this point in the history
according to the WIKI rainfall must be at least 500 for fruit trees
  • Loading branch information
Deadrik committed Oct 27, 2014
2 parents 0352161 + d3b7c00 commit 85b2e9a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -154,7 +154,7 @@ public void generate(Random random, int chunkX, int chunkZ, World world,
}
}

if (random.nextInt(70) == 0 && rain > 500)
if (random.nextInt(70) == 0 && rain >= 500)
{
xCoord = chunkX + random.nextInt(16) + 8;
zCoord = chunkZ + random.nextInt(16) + 8;
Expand Down

0 comments on commit 85b2e9a

Please sign in to comment.