Skip to content

Commit

Permalink
builtin editor goof
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleaker authored Jul 17, 2020
1 parent d17f3c0 commit d456b05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean createPlayerAccount(String playerName) {
@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");
Expand Down Expand Up @@ -138,7 +138,7 @@ public EconomyResponse withdrawPlayer(String playerName, double amount) {

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");
Expand Down

0 comments on commit d456b05

Please sign in to comment.