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

BlockDamageEvent cancellation ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • 1.13.2-R0.1
    • Yes

      Event cancellation on BlockDamageEvent has no effect on newest block (in this case doors used).
      No other plugin uses setCancelled(false) also as mine on specified event.

      Logging returned what was needed but after some investigation I found that event cancellation on BlockDamageEvent on last placed block has no effect.

      Can be reproduced by placing block, cancelling block damage event (for example command which saves block into list), if it fails, then place another block somewhere else, then cancellation isn't ignored anymore.

       

            Unassigned Unassigned
            Cloudy71 Daniel Venison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: