Skip to content

Commit

Permalink
implement fix for tree generator
Browse files Browse the repository at this point in the history
  • Loading branch information
InFTord committed May 26, 2023
1 parent a98fcf7 commit 006d69d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected virtual async Task GenerateLeavesAsync(Vector origin, int heightOffset
chunk);

if (xx == 0 || zz == 0)
await helper.SetBlockAsync(origin.X + xx, trunkHeight + origin.Y + 2, origin.Z + zz,
await helper.SetBlockAsync(origin.X + xx, trunkHeight + origin.Y + heightOffset, origin.Z + zz,
this.leafBlock, chunk);
}
}
Expand Down

0 comments on commit 006d69d

Please sign in to comment.