13
0
geforkt von Mirrors/Paper

Fixed vanillas tile-entity placement bug (thanks Moo0)

Dieser Commit ist enthalten in:
Nathan Adams 2011-11-22 21:14:42 +00:00
Ursprung a3399c6431
Commit 774e59e179

Datei anzeigen

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