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

EntityDamageByEntityEvent not handle projectile in damager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    •  CraftBukkit version 3682-Spigot-41150f3-dbc32ff (MC: 1.19.4)
    • Yes

      EntityDamageByEntityEvent is fired when a player throws a snowball at another player, which is inconsistent with the previous version, previously this event would not have been fired at all in this case, and I have no way to check if it is caused by the snowball, because 

      event.getCause() = ENTITY_ATTACK
      event.getDamager() = damage player

      Also this only seems to happen between players

       

       

            Doc Doc
            RERERE RJL
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: