mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fix for Taming not leveling up.
This commit is contained in:
parent
c4a0ae64aa
commit
93e223b2cc
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user