From 3a941ead9fa0002fb1f4b625344707e3a226bac3 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 21 May 2016 17:47:47 -0700 Subject: [PATCH] Fix Ebony tree leaf generation --- .../java/forestry/arboriculture/worldgen/WorldGenEbony.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forestry/arboriculture/worldgen/WorldGenEbony.java b/src/main/java/forestry/arboriculture/worldgen/WorldGenEbony.java index a9ef9307f..d8dc94e11 100755 --- a/src/main/java/forestry/arboriculture/worldgen/WorldGenEbony.java +++ b/src/main/java/forestry/arboriculture/worldgen/WorldGenEbony.java @@ -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); }