Redwood trees now require a 3x3 of redwood saplings

This commit is contained in:
Adubbz 2013-05-11 09:29:29 +10:00
parent 06e8b60240
commit fa832bb8b0

View file

@ -124,8 +124,9 @@ public class BlockBOPColorizedSapling extends BlockSapling
break;
case 3: // Redwood Tree
obj = new WorldGenRedwoodTree2(false);
break;
if (this.isSameSapling(world, x + 1, y, z, 3) && this.isSameSapling(world, x - 1, y, z, 3) && this.isSameSapling(world, x, y, z + 1, 3) && this.isSameSapling(world, x, y, z - 1, 3) && this.isSameSapling(world, x + 1, y, z + 1, 3) && this.isSameSapling(world, x + 1, y, z - 1, 3) && this.isSameSapling(world, x - 1, y, z + 1, 3) && this.isSameSapling(world, x - 1, y, z - 1, 3))
obj = new WorldGenRedwoodTree2(false);
break;
case 4: // Willow Tree
obj = new WorldGenWillow();