mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.4(.2).
This commit is contained in:
1 parent
b9a72531b6
commit
60819c6693
237 files changed
+10104
-4863
No files matched your search
@@ -167,7 +167,7 @@ public class WorldGenMegaTree extends WorldGenerator implements BlockSapling.Tre
|
||||
for (int j2 = j - k1; j2 <= j + k1 + 1; ++j2) {
|
||||
int k2 = j2 - j;
|
||||
|
||||
if ((i2 >= 0 || k2 >= 0 || i2 * i2 + k2 * k2 <= k1 * k1) && (i2 <= 0 && k2 <= 0 || i2 * i2 + k2 * k2 <= (k1 + 1) * (k1 + 1)) && (random.nextInt(4) != 0 || i2 * i2 + k2 * k2 <= (k1 - 1) * (k1 - 1)) && !Block.n[world.getTypeId(l1, i1, j2)]) {
|
||||
if ((i2 >= 0 || k2 >= 0 || i2 * i2 + k2 * k2 <= k1 * k1) && (i2 <= 0 && k2 <= 0 || i2 * i2 + k2 * k2 <= (k1 + 1) * (k1 + 1)) && (random.nextInt(4) != 0 || i2 * i2 + k2 * k2 <= (k1 - 1) * (k1 - 1)) && !Block.q[world.getTypeId(l1, i1, j2)]) {
|
||||
this.setTypeAndData(world, l1, i1, j2, Block.LEAVES.id, this.c);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user