mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 06:53:44 +01:00
Fixed vanillas tile-entity placement bug (thanks Moo0)
This commit is contained in:
parent
a3399c6431
commit
774e59e179
@ -343,7 +343,7 @@ public class Chunk {
|
|||||||
tileentity = this.d(i, j, k);
|
tileentity = this.d(i, j, k);
|
||||||
if (tileentity == null) {
|
if (tileentity == null) {
|
||||||
tileentity = ((BlockContainer) Block.byId[l]).a_();
|
tileentity = ((BlockContainer) Block.byId[l]).a_();
|
||||||
this.world.setTileEntity(i, j, k, tileentity);
|
this.world.setTileEntity(i2, j, j2, tileentity); // CraftBukkit - Use world rather than in-chunk coords
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tileentity != null) {
|
if (tileentity != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user