From 9f05232fed992d5acc47165f5b8d6f13c613cb9a Mon Sep 17 00:00:00 2001 From: CrazyCloudCraft | Argantiu <95505222+CrazyCloudCraft@users.noreply.github.com> Date: Mon, 10 Oct 2022 09:23:25 +0200 Subject: [PATCH] Update GeneratorSettings.java --- .../de/butzlabben/world/wrapper/GeneratorSettings.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/butzlabben/world/wrapper/GeneratorSettings.java b/src/main/java/de/butzlabben/world/wrapper/GeneratorSettings.java index ccc0f56..f60d836 100644 --- a/src/main/java/de/butzlabben/world/wrapper/GeneratorSettings.java +++ b/src/main/java/de/butzlabben/world/wrapper/GeneratorSettings.java @@ -4,6 +4,7 @@ import lombok.AllArgsConstructor; import org.bukkit.World; import org.bukkit.WorldCreator; import org.bukkit.WorldType; +import io.papermc.lib.PaperLib; @AllArgsConstructor public class GeneratorSettings { @@ -13,12 +14,19 @@ public class GeneratorSettings { final private String generator; // Default generatorsettings - public GeneratorSettings() { + { type = null; environment = null; seed = 0; generator = null; } + /* Default generatorsettings + { + type = null; + environment = null; + seed = 0; + generator = null; + }*/ public WorldCreator asWorldCreator(String name) { WorldCreator creator = new WorldCreator(name);