Update CraftBukkit to Minecraft 1.4.4.
This commit is contained in:
@@ -86,7 +86,7 @@ public class WorldGenTrees extends WorldGenerator implements BlockSapling.TreeGe
|
||||
for (int l2 = k - i2; l2 <= k + i2; ++l2) {
|
||||
int i3 = l2 - k;
|
||||
|
||||
if ((Math.abs(k2) != i2 || Math.abs(i3) != i2 || random.nextInt(2) != 0 && k1 != 0) && !Block.q[world.getTypeId(j2, j1, l2)]) {
|
||||
if ((Math.abs(k2) != i2 || Math.abs(i3) != i2 || random.nextInt(2) != 0 && k1 != 0) && world.isEmpty(j2, j1, l2)) {
|
||||
this.setTypeAndData(world, j2, j1, l2, Block.LEAVES.id, this.d);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user