mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-01 17:36:46 +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
@ -189,6 +189,10 @@ public class McMMOPlayer {
|
||||
public WoodcuttingManager getWoodcuttingManager() {
|
||||
return (WoodcuttingManager) skillManagers.get(SkillType.WOODCUTTING);
|
||||
}
|
||||
|
||||
public SkillManager getSkillManager(SkillType skillType) {
|
||||
return skillManagers.get(skillType);
|
||||
}
|
||||
|
||||
/*
|
||||
* Abilities
|
||||
|
Loading…
Reference in New Issue
Block a user