From 4f4d88500344b55905d3ac55eef6d0927f37e339 Mon Sep 17 00:00:00 2001 From: Allink Date: Sat, 29 Jul 2023 02:15:35 +0000 Subject: [PATCH] Flip greater than symbol to lesser than symbol --- .../java/me/totalfreedom/fossil/economy/SimpleTransactor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransactor.java b/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransactor.java index 7524174..09858ab 100644 --- a/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransactor.java +++ b/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransactor.java @@ -21,7 +21,7 @@ public class SimpleTransactor implements Transactor final long transactionAmount = transaction.getBalance(); - if (transactionAmount >= 0) + if (transactionAmount <= 0) { return new SimpleCompletedTransaction(transaction, SimpleTransactionResult.AMOUNT_TOO_SMALL); }