mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-29 03:57:54 +01:00
Added ability to get skill level from McMMOPlayerSkill events
This commit is contained in:
parent
933449f16b
commit
3fc5a167a4
@ -14,6 +14,7 @@ public class McMMOPlayerSkillEvent extends PlayerEvent{
|
||||
public McMMOPlayerSkillEvent(Player player, SkillType skill) {
|
||||
super(player);
|
||||
this.skill = skill;
|
||||
this.skillLevel = skill.getSkillLevel(player);
|
||||
}
|
||||
|
||||
public SkillType getSkill() {
|
||||
|
Loading…
Reference in New Issue
Block a user