Fix for Taming not leveling up.

This commit is contained in:
nossr50 2012-02-21 08:54:06 -08:00
parent c4a0ae64aa
commit 93e223b2cc
2 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,7 @@ public class mcEntityListener implements Listener
if(event.getEntity() instanceof Wolf)
{
PP.addXP(SkillType.TAMING, LoadProperties.mtameWolf, player);
Skills.XpCheckSkill(SkillType.TAMING, player);
}
}
}

View File

@ -86,6 +86,7 @@ public class mcPlayerListener implements Listener
{
PlayerProfile PP = Users.getProfile(player);
PP.addXP(SkillType.TAMING, LoadProperties.mshearing, player);
Skills.XpCheckSkill(SkillType.TAMING, player);
}
}