Skip to content

Commit

Permalink
re did cables and pipes connecting to anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Oct 11, 2023
1 parent 3388e35 commit 474b697
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ public void setConnection(Direction side) {
BlockEntityPipe<?> pipe = getPipe(side);
//If it is a tile but invalid do not connect.
connection = Connectivity.set(connection, side.get3DDataValue());
boolean ok = validate(side);
/*boolean ok = validate(side);
if (!ok && (pipe == null) && level.getBlockState(worldPosition.relative(side)).hasBlockEntity()) {
connection = Connectivity.clear(connection, side.get3DDataValue());
return;
}
}*/

refreshConnection();
if (pipe != null) {
Expand Down

0 comments on commit 474b697

Please sign in to comment.