geforkt von Mirrors/Paper
Fix growing large tress near world height. Fixes BUKKIT-1072
Dieser Commit ist enthalten in:
Ursprung
0153fe1f33
Commit
3e382034e9
@ -296,7 +296,7 @@ public class WorldGenBigTree extends WorldGenerator implements BlockSapling.Tree
|
|||||||
aint3[b3] = MathHelper.floor((double) aint[b3] + (double) i * d1);
|
aint3[b3] = MathHelper.floor((double) aint[b3] + (double) i * d1);
|
||||||
int k = this.world.getTypeId(aint3[0], aint3[1], aint3[2]);
|
int k = this.world.getTypeId(aint3[0], aint3[1], aint3[2]);
|
||||||
|
|
||||||
if (k != 0 && k != 18) {
|
if ((k != 0 && k != 18) || aint3[1] >= 256) { // CraftBukkit - fix trees wrapping around
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren