mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 06:57:30 +01:00
Another attempt at the vanilla tile entity bug
This commit is contained in:
parent
e31cedf583
commit
620f101487
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,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(l1, j, i2, tileentity); // CraftBukkit - Use world rather than in-chunk coords
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tileentity != null) {
|
if (tileentity != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue