#1277: Add keepSpawnInMemory setting to WorldCreator
This commit is contained in:
parent
71b0135cc7
commit
2fa7644d08
@ -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…
x
Reference in New Issue
Block a user