mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 21:15:30 +01:00
removed ceiling amounts in BOSE7 that were missed during cleanup.
This commit is contained in:
parent
f603128338
commit
6a73a6d1c5
@ -103,7 +103,6 @@ public class Economy_BOSE7 implements Economy {
|
|||||||
return new EconomyResponse(amount, balance, type, errorMessage);
|
return new EconomyResponse(amount, balance, type, errorMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
amount = Math.ceil(amount);
|
|
||||||
balance = economy.getPlayerMoneyDouble(playerName);
|
balance = economy.getPlayerMoneyDouble(playerName);
|
||||||
if (balance - amount < 0) {
|
if (balance - amount < 0) {
|
||||||
errorMessage = "Insufficient funds";
|
errorMessage = "Insufficient funds";
|
||||||
@ -140,7 +139,6 @@ public class Economy_BOSE7 implements Economy {
|
|||||||
|
|
||||||
return new EconomyResponse(amount, economy.getPlayerMoneyDouble(playerName), type, errorMessage);
|
return new EconomyResponse(amount, economy.getPlayerMoneyDouble(playerName), type, errorMessage);
|
||||||
}
|
}
|
||||||
amount = Math.ceil(amount);
|
|
||||||
balance = economy.getPlayerMoneyDouble(playerName);
|
balance = economy.getPlayerMoneyDouble(playerName);
|
||||||
if (economy.setPlayerMoney(playerName, balance + amount, false)) {
|
if (economy.setPlayerMoney(playerName, balance + amount, false)) {
|
||||||
type = EconomyResponse.ResponseType.SUCCESS;
|
type = EconomyResponse.ResponseType.SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user