Fixed wolves from Call of the Wild only having 8 health.

This commit is contained in:
GJ
2013-04-05 16:17:59 -04:00
parent e31c1e33d9
commit 158b3c43f8
2 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,7 @@ public class TamingManager extends SkillManager {
((Ocelot) entity).setCatType(Ocelot.Type.getType(1 + Misc.getRandom().nextInt(3)));
}
else {
entity.setMaxHealth(20);
entity.setHealth(entity.getMaxHealth());
}