EntityDamageEvent - e.setCancelled(true) doesn't cancel "Sweep" Sword Attacks

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      BuildTools.jar --rev 1.9.2 Spigot, various basic plugins (WorldEdit, WorldGuard, Voxel) & Custom Coded Plugin

    • Cypress

      When attacking nearby an entity using the Sword Sweep attack in 1.9, entities set to cancel damage events get affected by the knockback of the sword sweep.

      In my test case, I spawned a pig beside a villager. Villagers are immune to all damage events as specified in my plugin. Upon sneaking and swinging my sword, a sweep attack is executed, damaging the pig and pushing the villager back.

            Assignee:
            Thinkofname
            Reporter:
            Justin Quach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: