Merge pull request #491 from igwb/master

fix GoldenChestEconomoy incorrectly rounding
This commit is contained in:
Nick Minkler 2014-01-04 11:07:33 -08:00
commit 6317963da4
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);
}