mirror of https://github.com/MilkBowl/Vault.git
fix GoldenChestEconomoy incorrectly rounding
This commit is contained in:
parent
c6ef520833
commit
c44f36f605
|
@ -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