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

EntityDamageByEntityEvent doesn't called with DamageCause.PROJECTILE or DamageCause.MAGIC if fired by blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.19.4
    • Yes

      Before, if I shoot self using a bow, or other player, or dispenser shoot me, the 
      EntityDamageByEntityEvent will be called with DamageCause.PROJECTILE. Now it's called with DamageCause.ENTITY_ATTACK — if that's intended, PROJECTILE cause seems to be useless..
       
      I hope that's a bug and it will be fixed. Thanks!

            Doc Doc
            molor Zhenya Zima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: