add missing nullcheck
This commit is contained in:
parent
02839ee47a
commit
1812bb71e4
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class PipeTransportPower extends PipeTransport {
|
|||
init();
|
||||
|
||||
for (ForgeDirection side : ForgeDirection.VALID_DIRECTIONS) {
|
||||
if (tiles[side.ordinal()].isInvalid()) {
|
||||
if (tiles[side.ordinal()] != null && tiles[side.ordinal()].isInvalid()) {
|
||||
updateTile(side);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue