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

Properly loading payment limits in multi server environment

This commit is contained in:
Zrips 2020-12-17 17:50:00 +02:00
parent 48ec2bdbf0
commit adf91bea98

View File

@ -193,6 +193,9 @@ public class PlayerManager {
if (archivedJobs != null) {
jPlayer.setArchivedJobs(archivedJobs);
}
jPlayer.setPaymentLimit(Jobs.getJobsDAO().getPlayersLimits(jPlayer));
}
// Lets load quest progression
PlayerInfo info = Jobs.getJobsDAO().loadPlayerData(player.getUniqueId());