fixed the pressurizer loading chunks

This commit is contained in:
Ell 2020-10-20 01:31:36 +02:00
parent afd055c8b1
commit b6df64df57

View file

@ -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;