getHealth not working?

Discussion in 'Plugin Development' started by naorpeled, Jul 19, 2013.

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

    naorpeled

    For some reason when I place player.getHealth || player.getMaxHealth it doesnt work.
     
  2. Offline

    ChrisixStudios

    What do you mean by not working?
     
  3. Offline

    naorpeled

    Giving an error in eclipse
     
  4. Offline

    ChrisixStudios

    Did you try re importing the API?
     
  5. Offline

    krazytraynz

    You have to be more specific if you want to get help faster. What exactly is the error?
     
  6. Offline

    naorpeled

    Fixed. I didnt do one thing on a method but thanks alot anyway
     
  7. Offline

    Compressions

    naorpeled Make sure you are building against Bukkit, and not CraftBukkit.
     
  8. Offline

    naorpeled

    New error:
    The method getHealth() is ambiguous for the type Playerm.java/Raiding/src/rline 22Java Problem
     
  9. Offline

    phips99

Thread Status:
Not open for further replies.

Share This Page