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

Server.properties' "spawn-npc" ignoring during world gen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • macOS 10.15.1
      java version "1.8.0_201"
      Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
      Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

    • CraftBukkit version git-Bukkit-56118c6
    • none
    • Yes

      In the server.properties file there is an option

      spawn-npcs=true
      

      Intended behaviour
      When setting this to false, villagers should not generate in new villages.

      What is actually happening
      When testing on a vanilla server, it works as intended, villagers do not spawn in newly generated villages.

      When testing this on both Craftbukkit and Spigot servers the villagers spawn in newly generated villages. The command `/summon villagers` does not work (as intended)

       
      Steps to reproduce:

      1. Create a fresh new world
      2. Join the world, and locate a village (use command '/locate Village' and click the coords to teleport to said village)
      3. Observe that there are in fact villagers there, when there should not be.

      Testing environment
      I have tested this on fresh builds of Craftbukkit and Spigot

      Craftbukkit:
      CraftBukkit version git-Bukkit-56118c6

      Spigot:
      CraftBukkit version git-Spigot-56f8471-56118c6

            Unassigned Unassigned
            ShaneBee Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: