Spawned Zombies Health Issue

Discussion in 'Plugin Development' started by spy85, Nov 23, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    spy85

    I am spawning zombies in my WorldWarZ plugin here and for some reason even if I set their health to 1 and take a diamond sword and hit them forever they refuse to ever die and I am not sure why.

    Is this code in the picture enough information? http://gyazo.com/722e937e95fe690d397189defe69e6ba

    I get no errors in console. The zombies do die when I use some sort of explosion though directly on them.

    The only event I have cancelled on level HIGH is EntityCombustEvent.
     
  2. Offline

    1Rogue

    Can you kill other players?
     
  3. Offline

    Wingzzz

    It may have something to do with the addition of the harm potion effect. Zombies react negatively to health potions, and so the effects of a harm potion are either nullified or positive.
     
    spy85 likes this.
  4. Offline

    spy85

    You were absolutely correct! Thanks so much I appreciate it all is good now.
     
  5. Offline

    Wingzzz

    Awesome! I'm glad everything is working :)
     
    spy85 likes this.
Thread Status:
Not open for further replies.

Share This Page