Update GeneratorSettings.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-10-10 09:23:25 +02:00 committed by GitHub
parent 18433fd66c
commit 9f05232fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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