mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-02 01:46:45 +01:00
Added a way to get the skill manager of any type from an McMMOPlayer
This commit is contained in:
parent
4304970059
commit
be690962ee
@ -190,6 +190,10 @@ public class McMMOPlayer {
|
||||
return (WoodcuttingManager) skillManagers.get(SkillType.WOODCUTTING);
|
||||
}
|
||||
|
||||
public SkillManager getSkillManager(SkillType skillType) {
|
||||
return skillManagers.get(skillType);
|
||||
}
|
||||
|
||||
/*
|
||||
* Abilities
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user