mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
move to async thread
This commit is contained in:
1 parent
199bc09542
commit
67a384fa26
1 file changed
+1
-2
@@ -63,8 +63,7 @@ public class OngoingFeeWatcher extends BukkitRunnable {
|
||||
this.removeShop(shop);
|
||||
} else {
|
||||
try {
|
||||
//noinspection ConstantConditions,deprecation
|
||||
plugin.getEconomy().deposit(Bukkit.getOfflinePlayer(plugin.getConfig().getString("tax")).getUniqueId(), cost, shop.getLocation().getWorld(), shop.getCurrency());
|
||||
plugin.getEconomy().deposit(plugin.getShopManager().getCacheTaxAccount().getUniqueId(), cost, shop.getLocation().getWorld(), shop.getCurrency());
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user