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

When canceling PortalCreateEvent or EntityPortalCreateEvent he is allowing the creation of portals

    XMLWordPrintable

Details

    • 1.16.5
    • spigot
    • Yes

    Description

      Expected behavior

      When canceling the PortalCreateEvent or EntityPortalCreateEvent he should block the portal from being created
      After canceling the spawn of a dragon from CreatureSpawnEvent, a bossbar should not appear since the dragon's spawn is canceled
      Note: Nether portal is cancelled, only the end portal is not.

      Observed/Actual behavior

      When canceling PortalCreateEvent or EntityPortalCreateEvent he is allowing the creation of portals but I believe the problem here is that the event is not being called so it is not canceled ...
      After canceling the spawn of the CreatureSpawnEvent dragon, a boss bar appears, and the event is canceled (the dragon is not born but regardless a boss bar appears)

      Plugin list

      FastAsyncWorldEdit-Bukkit-1.16-655
      HolographicDisplays
      Multiverse-Core-4.2.2
      ProtocolLib

      Attachments

        Activity

          People

            Unassigned Unassigned
            Ra1nzZ Daniel Baer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: