Skip to content

Commit

Permalink
Actual Fix for #637 (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
nstearns96 authored Mar 30, 2020
1 parent d57e503 commit 49d3d5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ public final boolean generate(World world, Random random, BlockPos pos, boolean
genPos = getValidGrowthPos(world, pos);
}

this.pos = genPos;

if (genPos == null || (!force && !this.canGrow())) {
return false;
}

this.pos = genPos;

this.preGenerate(world, random, this.pos);

generateTrunk();
Expand Down

0 comments on commit 49d3d5e

Please sign in to comment.