fix(launcher): preserve order in MDS pipeline
This commit is contained in:
parent
d5dfb18417
commit
c1e729a0fa
|
@ -11,7 +11,7 @@ import java.util.concurrent.CompletableFuture;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
public class MdsPipeline {
|
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) {
|
public void addTask(ScanStage stage, ThrowingConsumer<MdsMod, IOException> task) {
|
||||||
functions.add(Tuple.of(stage, tuple -> {
|
functions.add(Tuple.of(stage, tuple -> {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2159562d3cf32e48814e0913481f88e204ba27e9
|
Subproject commit 51000ec505afe15dafc6c9476382a302c5093fd2
|
Loading…
Reference in New Issue
Block a user