mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-18 08:16:58 -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) {
|
public Task<T> storeTo(Consumer<T> action) {
|
||||||
this.resultConsumer = action;
|
this.resultConsumer = action;
|
||||||
|
action.accept(getResult());
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user