Skip to content

Commit

Permalink
Fixed all plant growth modifications accidentally using cropRegrowthM…
Browse files Browse the repository at this point in the history
…ultiplier
  • Loading branch information
squeek502 committed Sep 25, 2014
1 parent 4030db1 commit b0ba1b8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -91,7 +91,7 @@ public void allowGrowthTick(PlantGrowthEvent.AllowGrowthTick event)
}

// random
if (event.random.nextInt((int) (IguanaConfig.cropRegrowthMultiplier * biomeModifier * sunlightModifier)) != 0)
if (event.random.nextInt((int) (growthModification.growthTickProbability * biomeModifier * sunlightModifier)) != 0)
{
event.setResult(Result.DENY);
return;
Expand Down

0 comments on commit b0ba1b8

Please sign in to comment.