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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: