BuildCraft/BuildCraft — pull request #1335 by taelnia (2013-11-25 06:15:04+00:00)
Title: Fix for other player pipes not being synched when placed

Potential fix for #1334

I noticed that the packet that is eventually sent by tile.sendUpdateToClient() was failing because on other players' clients the block for the pipe did not yet exist in the world.

This workaround creates the pipe for clients that do not have it, which allows for the follow up tile update packet to succeed.

This did work with two clients started in a dev environment, one of which started a LAN game. Both clients were able to place pipes and see their own and each others's pipes in the world.

This may not be the best solution, but it does work. I am a little stumped as to what caused this issue as spending some time comparing current source to previous did not reveal any major changes to the pipe placement code.