mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-01 17:00:26 +00:00
Saved world on create
- /iris create saves a new world before spawn preparation - A crash before the first autosave keeps the world's seed
This commit is contained in:
1 parent
bb32ea9d25
commit
9339c0869e
1 file changed
+2
@@ -333,6 +333,8 @@ public class IrisCreator {
|
||||
.thenCompose(Function.identity())
|
||||
.get(WORLD_CREATE_TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
||||
if (!studio && !benchmark) {
|
||||
World createdWorld = world;
|
||||
J.sfut(() -> createdWorld.save()).get(WORLD_CREATE_TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
||||
awaitInitialSpawnPreparation(access, name);
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
|
||||
Reference in new issue
Block a user