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

Feeding Parrots that have Resistance 5 a Cookie turns them unkillable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version 4362-Spigot-5eb8a94-7235ad7 (MC: 1.21.3) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
    • Yes

      If you spawn a parrot, and use /effect to give it infinite resistance 5, then feed it a cookie, then even after clearing all of its effects it remains unkillable, including using the /kill command. Arrows and other projectiles will also pass through it like it is some sort of ghost. Using /data get on it shows that its health is NaN. Restarting the server does not remove the parrot nor allow it to be killed again. 

      This does not occur in vanilla singleplayer or multiplayer.

       

      To reproduce run the following commands:

      /summon parrot

      /effect give @n[type=parrot] resistance infinite 5 true

      Then feed it a cookie. After this, it becomes undetectable to the @n selector, so you will have to run commands on it using its UUID instead. You can try /killing it or clearing the effects, they wont have any effect.

       

       

       

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

              Created:
              Updated:
              Resolved: