Fix/Update InventoryAPI.java

getHealth() must be use only with Damageable class.     
I'm changing only to fix build problems.
Merge pull request #1 from JJOL/patch-1

Fix/Update InventoryAPI.java player.getHealth()