1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-06 16:27:59 +01:00

Lets reload jobs limits on level up or level down

This commit is contained in:
Zrips 2020-08-25 14:51:14 +03:00
parent 9f33d3387e
commit 6dc5fb9ba1

View File

@ -185,6 +185,7 @@ public class JobProgression {
experience -= maxExperience;
ret = true;
reloadMaxExperience();
this.jPlayer.reloadLimits();
}
// At max level
@ -209,6 +210,7 @@ public class JobProgression {
experience = experience + exp;
ret = true;
reloadMaxExperience();
this.jPlayer.reloadLimits();
}
return ret;
}