Solved player.getHealth() not working?

Discussion in 'Plugin Development' started by Sean0402, Jul 23, 2014.

Thread Status:
Not open for further replies.
  1. Code:java
    1. if (player.getHealth() != 12)

    It says this: "The method getHealth() is ambiguous for the type Player"
    Any fixes?
  2. Offline


    Use Bukkit instead of CraftBukkit.
  3. Offline


  4. DannyDog Yeah none of them helped me.. I'm not good with that stuff I don't know what they mean :/

    What do you mean use bukkit instead of craftbukit? xmarinusx

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 9, 2016
  5. Offline


  6. Sean0402

    ZodiacTheories and Dragonphase like this.
  7. DannyDog Sorry .. Was being stupid Mind went blank
  8. Offline


  9. ZodiacTheories The good part is the list grows by 1 every time I use it :)
    ZodiacTheories likes this.
Thread Status:
Not open for further replies.

Share This Page