Fix #1033 multifarms have issues with branches

This commit is contained in:
mezz committed 2016-05-23 00:45:27 -07:00
1 parent 2801e346c5
commit 752a221fe8
1 file changed
+1 -1
@@ -31,7 +31,7 @@ public class WorldGenPapaya extends WorldGenTree {
@Override
public Set<BlockPos> generateTrunk(World world, Random rand, TreeBlockTypeLog wood, BlockPos startPos) {
WorldGenHelper.generateTreeTrunk(world, rand, wood, startPos, height, girth, 0, 0, null, 0);
return WorldGenHelper.generateBranches(world, rand, wood, startPos.add(0, height, 0), girth, 0.15f, 0.25f, height / 4, 1, 0.25f);
return WorldGenHelper.generateBranches(world, rand, wood, startPos.add(0, height - 1, 0), girth, 0.15f, 0.25f, height / 4, 1, 0.25f);
}
@Override