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:
@@ -17,7 +17,7 @@ object JobTriggerXPGainListener : Listener {
|
||||
val amount = job.getXP(event)
|
||||
|
||||
if (amount <= 0.0) {
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
player.giveJobExperience(job, amount)
|
||||
|
||||
Reference in New Issue
Block a user