1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 23:13:48 +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) { if (archivedJobs != null) {
jPlayer.setArchivedJobs(archivedJobs); jPlayer.setArchivedJobs(archivedJobs);
} }
jPlayer.setPaymentLimit(Jobs.getJobsDAO().getPlayersLimits(jPlayer));
} }
// Lets load quest progression // Lets load quest progression
PlayerInfo info = Jobs.getJobsDAO().loadPlayerData(player.getUniqueId()); PlayerInfo info = Jobs.getJobsDAO().loadPlayerData(player.getUniqueId());