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

Entity#setInvulnerable is broken.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • CentOS, latest Spigot.

    • 1.13.1
    • Yes

      Making an entity invulnerable with setInvulnerable doesn't work if you do it when you create the entity or afterwards via a BukkitRunnable. The entity is vulnerable to being punched, killed with a bow, etc. (although lava does not seem to hurt it?).

      Tested with Vexes and Bats.

            Unassigned Unassigned
            Aerocet Brian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: