BuildCraft/BuildCraft — pull request #1037 by viliml (2013-07-22 19:01:00+00:00)
Title: Update Pipe.java

Fixes https://github.com/BuildCraft/BuildCraft/issues/1035 .
resetGate() set's the gate to null which causes a NPE.