mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-23 00:21:20 +01:00
Lets reload jobs limits on level up or level down
This commit is contained in:
parent
9f33d3387e
commit
6dc5fb9ba1
@ -185,6 +185,7 @@ public class JobProgression {
|
|||||||
experience -= maxExperience;
|
experience -= maxExperience;
|
||||||
ret = true;
|
ret = true;
|
||||||
reloadMaxExperience();
|
reloadMaxExperience();
|
||||||
|
this.jPlayer.reloadLimits();
|
||||||
}
|
}
|
||||||
|
|
||||||
// At max level
|
// At max level
|
||||||
@ -209,6 +210,7 @@ public class JobProgression {
|
|||||||
experience = experience + exp;
|
experience = experience + exp;
|
||||||
ret = true;
|
ret = true;
|
||||||
reloadMaxExperience();
|
reloadMaxExperience();
|
||||||
|
this.jPlayer.reloadLimits();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user