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:
CovertJaguar 2013-11-05 16:27:59 -08:00
parent 40e1ecc671
commit 1e00cf012b

View file

@ -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;