Update Pipe.java
Fixes https://github.com/BuildCraft/BuildCraft/issues/1035 . resetGate() set's the gate to null which causes a NPE.
This commit is contained in:
parent
cc24ad490c
commit
440b342165
1 changed files with 1 additions and 1 deletions
|
@ -405,8 +405,8 @@ public abstract class Pipe implements IPipe, IDropControlInventory {
|
|||
}
|
||||
|
||||
if (hasGate()) {
|
||||
resetGate();
|
||||
gate.dropGate();
|
||||
resetGate();
|
||||
}
|
||||
|
||||
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
|
||||
|
|
Loading…
Reference in a new issue