SPIGOT-5202: WorldCreator#copy does not copy all options

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-07-24 09:34:02 +10:00
parent 17034cc249
commit f398d96c05

View file

@ -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;
}