mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +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();
|
||||
environment = world.getEnvironment();
|
||||
generator = world.getGenerator();
|
||||
type = world.getWorldType();
|
||||
generateStructures = world.canGenerateStructures();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
@ -67,6 +69,9 @@ public class WorldCreator {
|
|||
seed = creator.seed();
|
||||
environment = creator.environment();
|
||||
generator = creator.generator();
|
||||
type = creator.type();
|
||||
generateStructures = creator.generateStructures();
|
||||
generatorSettings = creator.generatorSettings();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue