4445464748495051525354
Player player = event.getPlayer(); Account account = database.getCachedAccount(player.getName(), player.getUniqueId().toString()); if (account != null) { account.save(account.getMoney()); database.removeCachedAccount(account); } } }