mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 22:10:18 +00:00
Stop recreating threads without shutting down engine targets
This commit is contained in:
1 parent
886ec9c574
commit
0a78a87a17
3 files changed
+9
No files matched your search
@@ -212,6 +212,11 @@ public class IrisEngine extends BlockPopulator implements Engine {
|
|||||||
return getData().getBiomeLoader().load(getDimension().getFocus());
|
return getData().getBiomeLoader().load(getDimension().getFocus());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void hotloading() {
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void populate(@NotNull World world, @NotNull Random random, @NotNull Chunk c) {
|
public void populate(@NotNull World world, @NotNull Random random, @NotNull Chunk c) {
|
||||||
getWorldManager().spawnInitialEntities(c);
|
getWorldManager().spawnInitialEntities(c);
|
||||||
|
|||||||
@@ -378,4 +378,6 @@ public interface Engine extends DataProvider, Fallible, GeneratorAccess, LootPro
|
|||||||
}
|
}
|
||||||
|
|
||||||
IrisBiome getFocus();
|
IrisBiome getFocus();
|
||||||
|
|
||||||
|
void hotloading();
|
||||||
}
|
}
|
||||||
@@ -127,6 +127,8 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
getComposite().close();
|
||||||
initialized.lazySet(false);
|
initialized.lazySet(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user