Update GeneratorSettings.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-10-10 10:18:12 +02:00 committed by GitHub
parent 77ca43a1e1
commit 4d4a157d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@ import lombok.AllArgsConstructor;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.WorldCreator; import org.bukkit.WorldCreator;
import org.bukkit.WorldType; import org.bukkit.WorldType;
import io.papermc.lib.PaperLib;
@AllArgsConstructor @AllArgsConstructor
public class GeneratorSettings { public class GeneratorSettings {
@ -14,19 +13,12 @@ public class GeneratorSettings {
final private String generator; final private String generator;
// Default generatorsettings // Default generatorsettings
{ public GeneratorSettings() {
type = null; type = null;
environment = null; environment = null;
seed = 0; seed = 0;
generator = null; generator = null;
} }
/* Default generatorsettings
{
type = null;
environment = null;
seed = 0;
generator = null;
}*/
public WorldCreator asWorldCreator(String name) { public WorldCreator asWorldCreator(String name) {
WorldCreator creator = new WorldCreator(name); WorldCreator creator = new WorldCreator(name);