Another attempt at the vanilla tile entity bug

This commit is contained in:
Nathan Adams 2011-11-25 00:15:00 +00:00
parent e31cedf583
commit 620f101487

View file

@ -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) {