From adf91bea983d4626ac58d4d94e9e8ae77a4c9633 Mon Sep 17 00:00:00 2001 From: Zrips Date: Thu, 17 Dec 2020 17:50:00 +0200 Subject: [PATCH] Properly loading payment limits in multi server environment --- src/main/java/com/gamingmesh/jobs/PlayerManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gamingmesh/jobs/PlayerManager.java b/src/main/java/com/gamingmesh/jobs/PlayerManager.java index eaf53277..8ce24af5 100644 --- a/src/main/java/com/gamingmesh/jobs/PlayerManager.java +++ b/src/main/java/com/gamingmesh/jobs/PlayerManager.java @@ -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());