Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5574

WorldCreator creates world but doesn't call generateChunkData

XMLWordPrintable

    • 1.15.2
    • Yes

      My code to create a custom world runs with no problems in 1.15.1.

      I updated to 1.15.2 and The chunks form my world are not generated anymore. After some debugging I figure out that the method "generateChunkData" of the ChunkGenerator is not called at all.

       

      Excerpt from the onEnable method()

      WorldCreator worldCreator = new WorldCreator("newworld");

      worldCreator.generateStructures(false); 

      worldCreator.environment(Environment.NORMAL);

      worldCreator.type(org.bukkit.WorldType.FLAT); 

      worldCreator.generator(new MyChunkGen());

      World world = worldCreator.createWorld(); 

      world.setSpawnLocation(0, 4, 0);

       

      I don't get any error messages. The world is generated but the chunks are not created as they don't call my generator.

       

      Thanks for your help

       

            Unassigned Unassigned
            lauro Lauro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: