mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2025-12-31 21:06:40 +00:00
Fixed armory gaining xp when using a sheidl
This commit is contained in:
@@ -27,6 +27,10 @@ class SkillArmory : Skill(
|
||||
return
|
||||
}
|
||||
|
||||
if (player.isBlocking) {
|
||||
return
|
||||
}
|
||||
|
||||
val xp = event.damage * this.config.getDouble("xp-per-hp")
|
||||
player.giveSkillExperience(this, xp)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user