mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
#1277: Add keepSpawnInMemory setting to WorldCreator
By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
parent
691d43eb42
commit
34a4561f70
1 changed files with 1 additions and 0 deletions
|
@ -1137,6 +1137,7 @@ public final class CraftServer implements Server {
|
|||
|
||||
WorldServer internal = (WorldServer) new WorldServer(console, console.executor, worldSession, worlddata, worldKey, worlddimension, getServer().progressListenerFactory.create(11),
|
||||
worlddata.isDebugWorld(), j, creator.environment() == Environment.NORMAL ? list : ImmutableList.of(), true, console.overworld().getRandomSequences(), creator.environment(), generator, biomeProvider);
|
||||
internal.keepSpawnInMemory = creator.keepSpawnInMemory();
|
||||
|
||||
if (!(worlds.containsKey(name.toLowerCase(java.util.Locale.ENGLISH)))) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue