diff --git a/src/main/java/com/gamingmesh/jobs/container/JobProgression.java b/src/main/java/com/gamingmesh/jobs/container/JobProgression.java index 5ebcc166..3fae2730 100644 --- a/src/main/java/com/gamingmesh/jobs/container/JobProgression.java +++ b/src/main/java/com/gamingmesh/jobs/container/JobProgression.java @@ -148,14 +148,14 @@ public class JobProgression { * Reloads max experience */ public void reloadMaxExperience() { - HashMap param = new HashMap(); + HashMap 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 param = new HashMap(); + HashMap param = new HashMap<>(); param.put("joblevel", (double) level); param.put("numjobs", (double) jPlayer.getJobProgression().size()); return (int) job.getMaxExp(param);