diff options
author | Mike Primm <mike@primmhome.com> | 2012-03-21 16:01:11 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-22 02:36:38 -0400 |
commit | f188afe794d49b8133b498f1a96732152a50b3da (patch) | |
tree | aab22934542fbd1752b5c2144f29687838f8d8fd /src/main/java/net/minecraft/server/WorldGenTaiga2.java | |
parent | 09a73d352c2ecc18a4265c70f9bf3dea1559df5c (diff) | |
download | craftbukkit-f188afe794d49b8133b498f1a96732152a50b3da.tar craftbukkit-f188afe794d49b8133b498f1a96732152a50b3da.tar.gz craftbukkit-f188afe794d49b8133b498f1a96732152a50b3da.tar.lz craftbukkit-f188afe794d49b8133b498f1a96732152a50b3da.tar.xz craftbukkit-f188afe794d49b8133b498f1a96732152a50b3da.zip |
[Bleeding] Prevent update inconsistencies on generation/decoration that span chunks. Fixes BUKKIT-871
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldGenTaiga2.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldGenTaiga2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/WorldGenTaiga2.java b/src/main/java/net/minecraft/server/WorldGenTaiga2.java index 0f3a6d6f..91373035 100644 --- a/src/main/java/net/minecraft/server/WorldGenTaiga2.java +++ b/src/main/java/net/minecraft/server/WorldGenTaiga2.java @@ -61,7 +61,7 @@ public class WorldGenTaiga2 extends WorldGenerator implements BlockSapling.TreeG } else { l1 = world.getTypeId(i, j - 1, k); if ((l1 == Block.GRASS.id || l1 == 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 k2 = random.nextInt(2); i2 = 1; byte b0 = 0; |