From f398d96c0554ef82733a579ba825876f001874eb Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 24 Jul 2019 09:34:02 +1000 Subject: [PATCH] SPIGOT-5202: WorldCreator#copy does not copy all options By: md_5 --- paper-api/src/main/java/org/bukkit/WorldCreator.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/WorldCreator.java b/paper-api/src/main/java/org/bukkit/WorldCreator.java index a9b29b6e2e..435fce5b0c 100644 --- a/paper-api/src/main/java/org/bukkit/WorldCreator.java +++ b/paper-api/src/main/java/org/bukkit/WorldCreator.java @@ -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; }