瀏覽代碼

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

GJ 12 年之前
父節點
當前提交
158b3c43f8
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      Changelog.txt
  2. 1 0
      src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java

+ 1 - 0
Changelog.txt

@@ -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

+ 1 - 0
src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java

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