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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • 1.16.5
    • spigot
    • Yes

      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

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

              Created:
              Updated:
              Resolved: