mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-25 21:18:34 +01:00
fixed network locks not being resolved when a terminal is broken
This commit is contained in:
parent
88544368eb
commit
c21a5ddbb0
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,14 @@ public class ItemTerminalTileEntity extends TileEntity implements INamedContaine
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
super.remove();
|
||||
PipeNetwork network = PipeNetwork.get(this.world);
|
||||
for (NetworkLock lock : this.pendingRequests)
|
||||
network.resolveNetworkLock(lock);
|
||||
}
|
||||
|
||||
public PipeTileEntity getConnectedPipe() {
|
||||
PipeNetwork network = PipeNetwork.get(this.world);
|
||||
for (Direction dir : Direction.values()) {
|
||||
|
|
Loading…
Reference in a new issue