mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
SPIGOT-5202: WorldCreator#copy does not copy all options
By: md_5 <git@md-5.net>
This commit is contained in:
parent
17034cc249
commit
f398d96c05
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,8 @@ public class WorldCreator {
|
||||||
seed = world.getSeed();
|
seed = world.getSeed();
|
||||||
environment = world.getEnvironment();
|
environment = world.getEnvironment();
|
||||||
generator = world.getGenerator();
|
generator = world.getGenerator();
|
||||||
|
type = world.getWorldType();
|
||||||
|
generateStructures = world.canGenerateStructures();
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -67,6 +69,9 @@ public class WorldCreator {
|
||||||
seed = creator.seed();
|
seed = creator.seed();
|
||||||
environment = creator.environment();
|
environment = creator.environment();
|
||||||
generator = creator.generator();
|
generator = creator.generator();
|
||||||
|
type = creator.type();
|
||||||
|
generateStructures = creator.generateStructures();
|
||||||
|
generatorSettings = creator.generatorSettings();
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue