1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Lets recalculate limits after levelup

This commit is contained in:
Zrips 2019-10-28 10:58:24 +02:00
parent d98bb4aaf9
commit 7a52b9c94d

View File

@ -481,6 +481,7 @@ public class JobsPlayer {
progression.clear(); progression.clear();
reloadHonorific(); reloadHonorific();
Jobs.getPermissionHandler().recalculatePermissions(this); Jobs.getPermissionHandler().recalculatePermissions(this);
reloadLimits();
return true; return true;
// } // }
} }
@ -543,6 +544,7 @@ public class JobsPlayer {
if (level != prog.getLevel()) { if (level != prog.getLevel()) {
prog.setLevel(level); prog.setLevel(level);
reloadHonorific(); reloadHonorific();
reloadLimits();
Jobs.getPermissionHandler().recalculatePermissions(this); Jobs.getPermissionHandler().recalculatePermissions(this);
} }
// } // }