mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-02 13:23:21 +01:00
Update GeneratorSettings.java
This commit is contained in:
parent
18433fd66c
commit
9f05232fed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user