mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 19:58:35 +01:00
fixed the pressurizer loading chunks
This commit is contained in:
parent
afd055c8b1
commit
b6df64df57
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ public class PressurizerTileEntity extends TileEntity implements INamedContainer
|
|||
for (Direction dir : Direction.values()) {
|
||||
BlockPos offset = this.pos.offset(dir);
|
||||
for (BlockPos node : network.getOrderedNetworkNodes(offset)) {
|
||||
if (!this.world.isBlockLoaded(node))
|
||||
continue;
|
||||
PipeTileEntity pipe = network.getPipe(node);
|
||||
if (pipe != null)
|
||||
pipe.pressurizer = this;
|
||||
|
|
Loading…
Reference in a new issue