3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 05:20:05 +01:00

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