Bukkit/CraftBukkit — comment on commit 81df7590c381e5df2036152c3abc7e6c94f745fe
File: src/main/java/net/minecraft/server/EntityLiving.java line 425
By drantor:

this if is needed before this.health=i;