fix GoldenChestEconomoy incorrectly rounding

This commit is contained in:
igwb 2014-01-04 16:39:24 +01:00
parent c6ef520833
commit c44f36f605
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class Economy_GoldenChestEconomy implements Economy{
return new EconomyResponse(0, 0, ResponseType.FAILURE, "Cannot desposit negative funds");
}
economy.getVaultConnector().depositPlayer(playerName, Math.round(amount));
economy.getVaultConnector().depositPlayer(playerName, amount);
return new EconomyResponse(amount, getBalance(playerName), EconomyResponse.ResponseType.SUCCESS, null);
}