mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
Hydrology Fix, and V+
This commit is contained in:
1 parent
dfb3748059
commit
1e1eaa96aa
137 files changed
+8842
-711
No files matched your search
+4
-4
@@ -102,6 +102,7 @@ public final class ModdedEngineBootstrap {
|
||||
// closed, MultiBurst falls back to a same-thread executor, so a second world load
|
||||
// without reopen() would silently run every burst inline.
|
||||
MultiBurst.burst.reopen();
|
||||
MultiBurst.hydrology.reopen();
|
||||
MultiBurst.ioBurst.reopen();
|
||||
ModdedScheduler scheduler = schedulerOrNull();
|
||||
if (scheduler != null) {
|
||||
@@ -189,10 +190,9 @@ public final class ModdedEngineBootstrap {
|
||||
failure = runStopStage(failure, "level snapshot", ModdedServerLevels::forget);
|
||||
}
|
||||
failure = runStopStage(failure, "generation pool", IrisModdedChunkGenerator::shutdownGenPool);
|
||||
failure = runStopStage(failure, "burst pools", () -> {
|
||||
MultiBurst.burst.close();
|
||||
MultiBurst.ioBurst.close();
|
||||
});
|
||||
failure = runStopStage(failure, "generation burst pool", MultiBurst.burst::close);
|
||||
failure = runStopStage(failure, "hydrology burst pool", MultiBurst.hydrology::close);
|
||||
failure = runStopStage(failure, "I/O burst pool", MultiBurst.ioBurst::close);
|
||||
failure = runStopStage(failure, "startup state", ModdedStartup::reset);
|
||||
failure = runStopStage(failure, "server state", () -> {
|
||||
currentServer = null;
|
||||
|
||||
Reference in new issue
Block a user