mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-03 10:33:43 +01:00
Fix for Taming not leveling up.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user