builtin editor goof

This commit is contained in:
Nick Minkler 2020-07-17 10:39:09 -07:00 committed by GitHub
parent d17f3c0fbd
commit d456b051c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");