fix(launcher): preserve order in MDS pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/docs Pipeline failed

This commit is contained in:
Johannes Frohnmeyer 2024-06-24 16:05:55 +02:00
parent d5dfb18417
commit c1e729a0fa
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
public class MdsPipeline {
private final Set<Tuple<ScanStage, ThrowingConsumer<Tuple<Path, Mod>, IOException>>> functions = new HashSet<>();
private final List<Tuple<ScanStage, ThrowingConsumer<Tuple<Path, Mod>, IOException>>> functions = new ArrayList<>();
public void addTask(ScanStage stage, ThrowingConsumer<MdsMod, IOException> task) {
functions.add(Tuple.of(stage, tuple -> {

@ -1 +1 @@
Subproject commit 2159562d3cf32e48814e0913481f88e204ba27e9
Subproject commit 51000ec505afe15dafc6c9476382a302c5093fd2