Merge branch 'master' into master

This commit is contained in:
business-goose 2021-10-23 02:00:20 +01:00 committed by GitHub
commit 7fb1e6492b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,8 @@ package pw.kaboom.extras;
import java.util.Collections;
import org.bukkit.Bukkit;
import org.bukkit.WorldCreator;
import org.bukkit.WorldType;
import org.bukkit.block.BlockFace;
import org.bukkit.plugin.java.JavaPlugin;
@ -101,11 +103,9 @@ public final class Main extends JavaPlugin {
this.getServer().getPluginManager().registerEvents(new ServerCommand(), this);
this.getServer().getPluginManager().registerEvents(new ServerTabComplete(), this);
this.getServer().getPluginManager().registerEvents(new ServerTick(), this);
/* World-related modules */
final WorldGenerator worldGenerator = new WorldGenerator();
worldGenerator.generateWorlds();
/* Custom worlds */
this.getServer().createWorld(new WorldCreator("world_flatlands").type(WorldType.FLAT));
}
@Override