1
0
Fork 0

fix: world type creation

This commit is contained in:
ineanto 2025-09-06 12:02:45 +02:00
parent e17bd28fef
commit b660654c63
Signed by: ineanto
GPG key ID: E511F9CAA2F9CE84

View file

@ -70,8 +70,8 @@ class WorldManager(private val instance: RunnerDragon) {
fun createWorld(name: String, environment: World.Environment, structures: Boolean): World {
val creator = WorldCreator(name)
creator.environment(World.Environment.NORMAL)
creator.generateStructures(true)
creator.environment(environment)
creator.generateStructures(structures)
creator.type(WorldType.NORMAL)
return Bukkit.createWorld(creator)!!
}