mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 22:44:17 +01:00
Fix 'Block Transmute'. Bug where you could change the data of a block 'on demand'.
This commit is contained in:
parent
98fd1a3606
commit
16d3b705c5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user