// Schedule all payments
int i = 0;
for (BufferedPayment payment : paymentCache.values()) {
i++;
if (ConfigManager.getJobsConfiguration().isEconomyAsync()) {
Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, new BufferedPaymentTask(this, economy, payment), i);
} else {
Bukkit.getScheduler().runTaskLater(plugin, new BufferedPaymentTask(this, economy, payment), i);
}
}
// empty payment cache
paymentCache.clear();
}