BuildCraft/BuildCraft — pull request #1022 by tomason (2013-07-19 19:46:32+00:00)
Title: fix iron pipes not changing direction

Iron pipes were not changing direction if wrench was used (well they did once and then nothing helped) or the redstone signal was switched.

This fixes it by finding next valid facing instead of first valid facing.