Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Set world on fixed tile entity to avoid NPE. Addresses BUKKIT-3949
Dieser Commit ist enthalten in:
Ursprung
311f0c86a4
Commit
c33908509a
@ -139,6 +139,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
|
||||
|
||||
if (Block.byId[type] instanceof BlockContainer) {
|
||||
TileEntity replacement = ((BlockContainer) Block.byId[type]).b(this);
|
||||
replacement.world = this;
|
||||
this.setTileEntity(x, y, z, replacement);
|
||||
return replacement;
|
||||
} else {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren