mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
*CLEAANUP* - SkillType.java
This commit is contained in:
parent
3be31dbf90
commit
d01bd487f7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user