Support creation of studio worlds through tk

This commit is contained in:
Daniel Mills committed 2021-07-24 09:41:39 -04:00
1 parent f360fadd3f
commit 970a5ec763
4 files changed
+107 -108

No files matched your search

@@ -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
*