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

Cancelling BlockExplodeEvent doesn't cancel all of the explosion's attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Windows 10, Java 1.8.0_201

    • CraftBukkit version git-Spigot-3cb9dcb-77ca7ca (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
    • BlockExplodeEventTest
    • Yes

      Suppose a BlockExplodeEvent was handled by an event handler. If the handler sets the event to cancelled, it will only be partially cancelled.

      Attributes of the explosion that have been seen to be cancelled:

      • Block breaking

      Attributes of the explosion that have not appeared to be cancelled:

      • The explosion sound
      • The damaging of nearby entities

       

      I created a simple plugin to recreate this issue: https://github.com/Perzan/BlockExplodeEvent-Glitch

       

      The command is "/GenerateCancelledExplosion" or "/GCE"

      PS:

      If you want to adjust the power of the explosion, use "/GCE <Power Integer>"

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

              Created:
              Updated: