mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 06:43:05 +00:00
Fix Ebony tree leaf generation
This commit is contained in:
1 parent
edacde02e7
commit
3a941ead9f
1 file changed
+1
-1
@@ -70,7 +70,7 @@ public class WorldGenEbony extends WorldGenTree {
|
||||
int x_off = -girth + rand.nextInt(2 * girth);
|
||||
int y_off = -girth + rand.nextInt(2 * girth);
|
||||
|
||||
BlockPos center = new BlockPos(x_off, h, y_off);
|
||||
BlockPos center = startPos.add(x_off, h, y_off);
|
||||
int radius = 1 + rand.nextInt(girth);
|
||||
WorldGenHelper.generateSphere(world, center, radius, leaf, WorldGenHelper.EnumReplaceMode.AIR);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user