9
0
mirror of https://github.com/Auxilor/EcoJobs.git synced 2025-12-20 07:29:20 +00:00

Fixed inappropriate xp gain handling

This commit is contained in:
_OfTeN_
2023-02-17 03:54:57 +03:00
parent 935e9a7937
commit bcf5ef3b0f

View File

@@ -17,7 +17,7 @@ object JobTriggerXPGainListener : Listener {
val amount = job.getXP(event) val amount = job.getXP(event)
if (amount <= 0.0) { if (amount <= 0.0) {
return continue
} }
player.giveJobExperience(job, amount) player.giveJobExperience(job, amount)