mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Update JobProgression.java
This commit is contained in:
parent
5b70bff727
commit
b7ec748d59
@ -148,14 +148,14 @@ public class JobProgression {
|
||||
* Reloads max experience
|
||||
*/
|
||||
public void reloadMaxExperience() {
|
||||
HashMap<String, Double> param = new HashMap<String, Double>();
|
||||
HashMap<String, Double> param = new HashMap<>();
|
||||
param.put("joblevel", (double) level);
|
||||
param.put("numjobs", (double) jPlayer.getJobProgression().size());
|
||||
this.maxExperience = (int) job.getMaxExp(param);
|
||||
}
|
||||
|
||||
public int getMaxExperience(int level) {
|
||||
HashMap<String, Double> param = new HashMap<String, Double>();
|
||||
HashMap<String, Double> param = new HashMap<>();
|
||||
param.put("joblevel", (double) level);
|
||||
param.put("numjobs", (double) jPlayer.getJobProgression().size());
|
||||
return (int) job.getMaxExp(param);
|
||||
|
Loading…
Reference in New Issue
Block a user