mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-17 15:57:18 -04:00
Fix failure of auto-installing more than one library
This commit is contained in:
parent
71c0cede24
commit
c11bbf8836
@ -190,6 +190,7 @@ public abstract class Task<T> {
|
||||
*/
|
||||
public Task<T> storeTo(Consumer<T> action) {
|
||||
this.resultConsumer = action;
|
||||
action.accept(getResult());
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user