9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 19:49:06 +00:00

Support creation of studio worlds through tk

This commit is contained in:
Daniel Mills
2021-07-24 09:41:39 -04:00
parent f360fadd3f
commit 970a5ec763
4 changed files with 107 additions and 108 deletions

View File

@@ -219,6 +219,15 @@ public class J {
return f;
}
public static CompletableFuture afut(Runnable r) {
CompletableFuture f = new CompletableFuture();
J.a(() -> {
r.run();
f.complete(null);
});
return f;
}
/**
* Queue a sync task
*