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:
Ursprung
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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren