WorldInitEvent only calls after a few chunks were generated when a world is first created

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Windows 10,

      java -d64 -Xms3072M -Xmx3072M -DIReallyKnowWhatIAmDoingISwear -jar spigot-1.15.1.jar
      PAUSE

       

      Additionally, a linux cloud machine with 5GB.

       

    • This server is running CraftBukkit version git-Spigot-492a779-e7202cd (MC: 1.15.1) (Implementing API version 1.15.1-R0.1-SNAPSHOT)
    • Yes

      When WorldInitEvent is called on a new world, a random number of chunks in the spawn area will already be generated. 

       

      Attached is a plugin that will log event calls from WorldInitEvent and ChunkLoadEvent. ChunkLoadEvent will call a random number of times before worldinitevent for a new world. 

        1. screenshot-1.png
          screenshot-1.png
          8 kB
        2. WIE.jar
          2 kB
        3. WIE-1.jar
          2 kB

            Assignee:
            Unassigned
            Reporter:
            Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: