player.getHealth()

Discussion in 'Plugin Development' started by Phasesaber, Mar 1, 2014.

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

    Phasesaber

    Heyo!
    I was trying to use player.getHealth() and found it was ambiguous, is there a way to fix it?
     
  2. Offline

    clienthax

    ((Damagable)player).getHealth()
     
  3. Offline

    Phasesaber

    Nevermind! Just found that you need to use Bukkit instead of CraftBukkit! :p
     
  4. Offline

    clienthax

    or do it the way i said if you still want nms access etc
     
Thread Status:
Not open for further replies.

Share This Page