Possible fix for Pipe placement sync issue
Theoretically this should send an update on placement to all watching players so everyone can see the pipe.
This commit is contained in:
parent
40e1ecc671
commit
1e00cf012b
1 changed files with 1 additions and 1 deletions
|
@ -1010,9 +1010,9 @@ public class BlockGenericPipe extends BlockContainer {
|
|||
boolean placed = world.setBlock(i, j, k, blockId, meta, 1);
|
||||
|
||||
if (placed) {
|
||||
|
||||
TileGenericPipe tile = (TileGenericPipe) world.getBlockTileEntity(i, j, k);
|
||||
tile.initialize(pipe);
|
||||
tile.sendUpdateToClient();
|
||||
}
|
||||
|
||||
return placed;
|
||||
|
|
Loading…
Reference in a new issue