39404142434445464748495051
} catch (InterruptedException e) { this.running = false; continue; } try { BufferedEconomy economy = Jobs.getEconomy(); if (economy != null) economy.payAll(); } catch (Throwable t) { t.printStackTrace(); Jobs.getPluginLogger().severe("Exception in BufferedPaymentThread, stopping economy payments!"); running = false; }
279280281282283284285
/** * Sets the economy handler * @param eco - the economy handler */ public static void setEconomy(JobsPlugin plugin, Economy eco) { economy = new BufferedEconomy(plugin, eco); }