3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

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

Dieser Commit ist enthalten in:
Erik Broes 2012-01-27 19:29:12 +01:00
Ursprung 98fd1a3606
Commit 16d3b705c5

Datei anzeigen

@ -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); this.g.a(i, j, k, i1);
if (!this.world.worldProvider.f) { if (!this.world.worldProvider.f) {
if (Block.lightBlock[b0 & 255] != 0) { if (Block.lightBlock[b0 & 255] != 0) {