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:
parent
48ec2bdbf0
commit
adf91bea98
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user