mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-01-20 20:51:27 +01:00
Update GeneratorSettings.java
This commit is contained in:
parent
77ca43a1e1
commit
4d4a157d58
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user