mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 21:24:43 +02:00
Added a way to get the skill manager of any type from an McMMOPlayer
This commit is contained in:
@ -189,6 +189,10 @@ public class McMMOPlayer {
|
|||||||
public WoodcuttingManager getWoodcuttingManager() {
|
public WoodcuttingManager getWoodcuttingManager() {
|
||||||
return (WoodcuttingManager) skillManagers.get(SkillType.WOODCUTTING);
|
return (WoodcuttingManager) skillManagers.get(SkillType.WOODCUTTING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SkillManager getSkillManager(SkillType skillType) {
|
||||||
|
return skillManagers.get(skillType);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Abilities
|
* Abilities
|
||||||
|
Reference in New Issue
Block a user