Added a way to get the skill manager of any type from an McMMOPlayer

This commit is contained in:
ile123ile 2014-08-22 12:26:04 -07:00
parent 4304970059
commit be690962ee

View File

@ -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