mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-03 22:26:30 +00:00
Switched skill exploration listener to monitor priority for cancelled events compatibility
This commit is contained in:
@@ -44,7 +44,7 @@ class SkillExploration : Skill(
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
fun handleLevelling(event: EntityDamageEvent) {
|
||||
val player = (event.entity as? Player)?.filterSkillEnabled() ?: return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user