Skip to content

Commit 49d3d5e

Browse files
authored
Actual Fix for #637 (#640)
1 parent d57e503 commit 49d3d5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extratrees/src/main/java/binnie/extratrees/gen/BinnieWorldGenTree.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ public final boolean generate(World world, Random random, BlockPos pos, boolean
113113
genPos = getValidGrowthPos(world, pos);
114114
}
115115

116+
this.pos = genPos;
117+
116118
if (genPos == null || (!force && !this.canGrow())) {
117119
return false;
118120
}
119121

120-
this.pos = genPos;
121-
122122
this.preGenerate(world, random, this.pos);
123123

124124
generateTrunk();

0 commit comments

Comments
 (0)