From 3fc5a167a41a8d94287ff3a2a81f1bf0f2c30f48 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 27 Mar 2012 00:18:04 -0400 Subject: [PATCH] Added ability to get skill level from McMMOPlayerSkill events --- .../java/com/gmail/nossr50/events/McMMOPlayerSkillEvent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/gmail/nossr50/events/McMMOPlayerSkillEvent.java b/src/main/java/com/gmail/nossr50/events/McMMOPlayerSkillEvent.java index 2fd380e80..c56e38d50 100644 --- a/src/main/java/com/gmail/nossr50/events/McMMOPlayerSkillEvent.java +++ b/src/main/java/com/gmail/nossr50/events/McMMOPlayerSkillEvent.java @@ -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() {