mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +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) {
|
public McMMOPlayerSkillEvent(Player player, SkillType skill) {
|
||||||
super(player);
|
super(player);
|
||||||
this.skill = skill;
|
this.skill = skill;
|
||||||
|
this.skillLevel = skill.getSkillLevel(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SkillType getSkill() {
|
public SkillType getSkill() {
|
||||||
|
Loading…
Reference in New Issue
Block a user