Discussion in 'Plugin Development' started by AlexeyApple, Jul 3, 2019.
@AlexeyApple Which version do you build on?
EDIT: I'm not 100% sure this matters but try changing '1' to '1.0' when you set the player's health.
@AlexeyApple Can you explain to me what casting Player to Damageable does? Player implements Damageable and 'setHealth', 'getHealth', and 'getMaxHealth' overrides the methods from Damageable.
Separate names with a comma.