Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • This server is running CraftBukkit version git-Spigot-988b411-055870c (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
    • Multiverse-core & HungerGames
    • Yes

      When running a summon command such as {{/summon bat, }}when this is prevented by a plugin that cancels the CreatureSpawnEvent, the following error message is printed in chat:

      "Unable to summon entity due to duplicate UUIDs"

      This is extremely confusing as it has nothing to do with UUIDs whatsoever.

      Instead it should print a message that indicates that spawning was prevented by spigot/plugin/[name of plugin].

      Plugins that trigger this issue:

      • Multiverse-core (configure the dimension to disallow animal & mob spawning)
      • HungerGames (create a hungergames region, inside mob spawning is prevented)

            Assignee:
            Unassigned
            Reporter:
            Bauke Conijn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: