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.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 {
|
||||||
@ -13,12 +14,19 @@ 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