mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-25 12:06:18 +01:00
builtin editor goof
This commit is contained in:
parent
d17f3c0fbd
commit
d456b051c3
@ -96,7 +96,7 @@ public class Economy_Essentials extends AbstractEconomy {
|
||||
@Override
|
||||
public EconomyResponse withdrawPlayer(String playerName, double amount) {
|
||||
if (playerName == null) {
|
||||
return new EconomyResponse(0, 0 ResponseType.FAILURE, "Player name can not be null.");
|
||||
return new EconomyResponse(0, 0, ResponseType.FAILURE, "Player name can not be null.");
|
||||
}
|
||||
if (amount < 0) {
|
||||
return new EconomyResponse(0, 0, ResponseType.FAILURE, "Cannot withdraw negative funds");
|
||||
@ -138,7 +138,7 @@ public class Economy_Essentials extends AbstractEconomy {
|
||||
|
||||
public EconomyResponse tryDepositPlayer(String playerName, double amount, int tries) {
|
||||
if (playerName == null) {
|
||||
return new EconomyResponse(0, 0 ResponseType.FAILURE, "Player name can not be null.");
|
||||
return new EconomyResponse(0, 0, ResponseType.FAILURE, "Player name can not be null.");
|
||||
}
|
||||
if (amount < 0) {
|
||||
return new EconomyResponse(0, 0, ResponseType.FAILURE, "Cannot desposit negative funds");
|
||||
|
Loading…
Reference in New Issue
Block a user