Exemple #1
0
 private void alterBalance() throws CommandUsageException {
   try {
     account.setBalance(amount);
   } catch (IllegalArgumentException exception) {
     throw new CommandUsageException(plugin.getMessage(exception.getMessage()));
   }
   handler.save(account);
 }