mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 04:55:33 +01:00
Merge pull request #491 from igwb/master
fix GoldenChestEconomoy incorrectly rounding
This commit is contained in:
commit
6317963da4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user