Fix 2 cable rendering bugs (#350)

This commit is contained in:
Stone
2024-01-02 10:35:00 -05:00
committed by GitHub
parent 01f56ae633
commit a31de25257
2 changed files with 4 additions and 9 deletions
@@ -974,14 +974,6 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
connectionType = AECableType.min(connectionType, adjacentType);
}
// Check if the adjacent TE is a cable bus or not
if (adjacentTe instanceof IPartHost) {
IPartHost host = (IPartHost) adjacentTe;
if (host.getPart(facing) != null) {
renderState.getCableBusAdjacent().add(facing);
}
}
renderState.getConnectionTypes().put(facing, connectionType);
}