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

Bukkit.createWorld causes the server to crash if run after startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Windows 10
      Java 11

    • This server is running CraftBukkit version git-Spigot-dc58fe4-14df075 (MC: 1.14 Pre-Release 5) (Implementing API version 1.14-pre5-SNAPSHOT)
    • Yes

      Creating a new world using Bukkit.createWorld causes the server to prepare the spawn area, and then freeze and crash upon reaching 100%.

      How to reproduce:
      1. Start a clean server with the CreateWorld-plugin.
      2. Run /createworld.

      The attached plugin runs the line:

      Bukkit.createWorld(new WorldCreator("world2").environment(World.Environment.NORMAL));
      upon using the command /createworld

      I can confirm that this works on Spigot 1.13.2, but not 1.14.
      This cannot be tested on vanilla.

        1. CreateWorld_source.zip
          9 kB
        2. CreateWorld.jar
          1 kB
        3. log.txt
          35 kB
        4. Main.java
          0.6 kB

            Unassigned Unassigned
            Jocke155 Jocke155
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: