9
0
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:
Auxilor
2021-12-31 18:06:59 +00:00
parent 09f3be679c
commit c8decd0e93

View File

@@ -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)
}