diff --git a/src/main/java/com/gamingmesh/jobs/tasks/BufferedPaymentTask.java b/src/main/java/com/gamingmesh/jobs/tasks/BufferedPaymentTask.java index 83ed197c..11ce1ae2 100644 --- a/src/main/java/com/gamingmesh/jobs/tasks/BufferedPaymentTask.java +++ b/src/main/java/com/gamingmesh/jobs/tasks/BufferedPaymentTask.java @@ -41,8 +41,7 @@ public class BufferedPaymentTask implements Runnable { double money = payment.get(CurrencyType.MONEY); if (money > 0) { if (Jobs.getGCManager().isEconomyAsync()) { - org.bukkit.Bukkit.getScheduler().scheduleSyncDelayedTask(bufferedEconomy.getPlugin(), () -> - economy.depositPlayer(payment.getOfflinePlayer(), money)); + org.bukkit.Bukkit.getScheduler().runTaskAsynchronously(bufferedEconomy.getPlugin(), () -> economy.depositPlayer(payment.getOfflinePlayer(), money)); } else { economy.depositPlayer(payment.getOfflinePlayer(), money); }