NPE at Bukkit.getServer().getGenerateStructures() call

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

      Windows 10, Currently latest spigot release

    • This server is running CraftBukkit version 3159-Spigot-f773da8-887bc05 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
    • WorldGuard
    • Yes

      I'm running the latest version from Spigot, to create a System report I want to read different server settings.

       

      The call Bukkit.getServer().getGenerateStructures() generates a NPE.

      Full error:

      [14:59:56] [Server thread/INFO]: Cannot invoke "net.minecraft.world.level.levelgen.GeneratorSettings.shouldGenerateMapFeatures()" because "org.bukkit.craftbukkit.v1_17_R1.CraftServer.getProperties().Y" is null
      

      The worlds are fresh generated.

            Assignee:
            Unassigned
            Reporter:
            Joo200
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: