Fix 'Block Transmute'. Bug where you could change the data of a block 'on demand'.

This commit is contained in:
Erik Broes 2012-01-27 19:29:12 +01:00
parent 98fd1a3606
commit 16d3b705c5

View File

@ -316,6 +316,8 @@ public class Chunk {
}
}
if ((this.b[i << this.world.heightBitsPlusFour | k << this.world.heightBits | j] & 255) != l) return false; // CraftBukkit
this.g.a(i, j, k, i1);
if (!this.world.worldProvider.f) {
if (Block.lightBlock[b0 & 255] != 0) {