Solved getHealth() is ambiguous

Discussion in 'Plugin Development' started by [Cookie], Feb 11, 2014.

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

    [Cookie]

    For some reason p.getHealth() shows that it's ambiguous? Is there something I'm missing?
     
  2. Offline

    Ch4t4r

    It has been for quite some time now, use ((Damageable) p).getHealth ()
     
  3. Offline

    [Cookie]

    Thanks! :)
     
Thread Status:
Not open for further replies.

Share This Page