mmiillkkaa/mmSupernaturals — pull request #1 by Ranzdo (2013-04-07 00:31:19+00:00)
Title: Change so that Damageable.getMaxHealth() is used

Since players can have more than 20 hp (you can change max health with Damageable.setMaxHealth()), Damageable.getMaxHealth() should be used instead of the constant 20.

Plugins like Heroes that uses this functionality in bukkit will cause unexpected behavior because of this and this will hopefully fix it.