1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 18:33:00 +01:00

*CLEAANUP* - SkillType.java

This commit is contained in:
GJ
2012-03-30 01:32:36 -04:00
parent 3be31dbf90
commit d01bd487f7

View File

@@ -119,6 +119,12 @@ public enum SkillType {
return xpModifier;
}
/**
* Get the skill level for this skill.
*
* @param player The player to check
* @return
*/
public int getSkillLevel(Player player) {
return Users.getProfile(player).getSkillLevel(this);
}