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

Return boolean on LivingEntity/Damageable damage method

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 4052-Spigot-e9ec548-98b6c1a
    • Yes

      It would be sometimes be useful from a plugin perspective to know whether Entity#damage calls successfully deal damage to the target entity. Essentially, this could return whether or not the EntityDamageEvent was cancelled or not.

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

              Created:
              Updated: