diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-27 19:29:12 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-27 19:29:33 +0100 |
commit | 16d3b705c5d6643a4269f0c9d49a0745426753d4 (patch) | |
tree | 3d8c213445ab01f9ce82ce22ad6a638f039653a4 | |
parent | 98fd1a36067af69ca311d31007ceaebe3191b80e (diff) | |
download | craftbukkit-16d3b705c5d6643a4269f0c9d49a0745426753d4.tar craftbukkit-16d3b705c5d6643a4269f0c9d49a0745426753d4.tar.gz craftbukkit-16d3b705c5d6643a4269f0c9d49a0745426753d4.tar.lz craftbukkit-16d3b705c5d6643a4269f0c9d49a0745426753d4.tar.xz craftbukkit-16d3b705c5d6643a4269f0c9d49a0745426753d4.zip |
Fix 'Block Transmute'. Bug where you could change the data of a block 'on demand'.
-rw-r--r-- | src/main/java/net/minecraft/server/Chunk.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index 105d9e7f..0bb437d0 100644 --- a/src/main/java/net/minecraft/server/Chunk.java +++ b/src/main/java/net/minecraft/server/Chunk.java @@ -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) { |