mirror of
https://github.com/kaboomserver/extras.git
synced 2024-06-01 01:41:22 +00:00
Don't generate structures in flat world
This commit is contained in:
parent
192daa0a9b
commit
6ba24f5edb
|
@ -104,7 +104,9 @@ public final class Main extends JavaPlugin {
|
||||||
this.getServer().getPluginManager().registerEvents(new ServerTick(), this);
|
this.getServer().getPluginManager().registerEvents(new ServerTick(), this);
|
||||||
|
|
||||||
/* Custom worlds */
|
/* Custom worlds */
|
||||||
this.getServer().createWorld(new WorldCreator("world_flatlands").type(WorldType.FLAT));
|
this.getServer().createWorld(
|
||||||
|
new WorldCreator("world_flatlands").generateStructures(false).type(WorldType.FLAT)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue