[Bleeding] Prevent update inconsistencies on generation/decoration that span chunks. Fixes BUKKIT-871

This commit is contained in:
Mike Primm
2012-03-21 16:01:11 -05:00
committed by EvilSeph
parent 09a73d352c
commit f188afe794
12 changed files with 44 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ public class WorldGenForest extends WorldGenerator implements BlockSapling.TreeG
} else {
i1 = world.getTypeId(i, j - 1, k);
if ((i1 == Block.GRASS.id || i1 == Block.DIRT.id) && j < 256 - l - 1) {
world.setRawTypeId(i, j - 1, k, Block.DIRT.id);
this.setTypeAndData(world, i, j - 1, k, Block.DIRT.id, 0); // CraftBukkit
int i2;