[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

@@ -31,7 +31,7 @@ public class WorldGenGroundBush extends WorldGenerator implements BlockSapling.T
if (i1 == Block.DIRT.id || i1 == Block.GRASS.id) {
++j;
world.setRawTypeIdAndData(i, j, k, Block.LOG.id, this.b);
this.setTypeAndData(world, i, j, k, Block.LOG.id, this.b); // CraftBukkit
for (int j1 = j; j1 <= j + 2; ++j1) {
int k1 = j1 - j;