Vanilla Issue Bug: Invisible Creeper leaves a lingering potion on the ground after it explodes

Discussion in 'Bug Reports' started by Kino, Jun 27, 2020.

  1. Kino

    Kino Member
    Premium Supporter Supporter

    Joined:
    Sep 28, 2015
    Messages:
    43
    Likes Received:
    1
    Enter a brief description of what is broken Invisible Creeper leaves a lingering potion on the ground after it explodes

    What version of Minecraft are you using?
    1.15

    What server jar are you using? Spigot 1.15.2

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.10.0-SNAPSHOT-3323

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    If you create a creeper and make it invisible on mob options when it dying from its own explosion it leaves a black puddle on the ground with the permanent invisibility buff, it's like a Lingering Potion of Invisibility with infinite buff duration if you take it, the cloud effect disappears after a few seconds.

    Example Configurations
    InviSuperCreeperTest:
    Type: Creeper
    Options:
    ApplyInvisibility: true
    SuperCharged: true
     
    #1
  2. Ashen

    Ashen Member
    Premium Supporter Supporter Moderator Quality Assurance

    Joined:
    Mar 6, 2019
    Messages:
    36
    Likes Received:
    5
    This is a vanilla issue - any potion effects that a creeper has will persist as a potion cloud after death. The invisibility option just applies an invisibility potion to the mob.
     
    #2
    Kino likes this.
  3. Kino

    Kino Member
    Premium Supporter Supporter

    Joined:
    Sep 28, 2015
    Messages:
    43
    Likes Received:
    1
    Oh, true, I just tried other effects. Thank you.
     
    #3
  4. Kino

    Kino Member
    Premium Supporter Supporter

    Joined:
    Sep 28, 2015
    Messages:
    43
    Likes Received:
    1
    I found a temporary solution.
    This continues to leave a gray cloud but without any effect, so the players can't get any effect.

    Code:
    Skills:
      - skill{s=SomeCreeperExplosion;sync=true} @Self ~onExplode 1
    
    SomeCreeperExplosion:
      Skills:
      - potion{type=INVISIBILITY;duration=0;f=true} @Self
      - potion{type=SPEED;duration=0;f=true} @Self
      - more effects...
     
    #4

Share This Page