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

@ -12,6 +12,7 @@ Version 1.4.06-dev
+ Added new API method to McMMOPlayerLevelUpEvent to set levels gained
+ Added new permission node for /ptp; mcmmo.commands.ptp.send (enabled by default)
= Fixed displaying partial names when trying to use /ptp
= Fixed wolves from Call of the Wild only having 8 health
! Changed Chimaera Wing's recipe result to use the ingredient Material
Version 1.4.05

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());
}