diff --git a/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransaction.java b/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransaction.java index 8fb9b8c..958634f 100644 --- a/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransaction.java +++ b/Fossil/src/main/java/me/totalfreedom/fossil/economy/SimpleTransaction.java @@ -43,15 +43,15 @@ public class SimpleTransaction implements Transaction } @Override - public long addBalance(long amount) + public long addToBalance(long amount) { return balance.addAndGet(amount); } @Override - public long removeBalance(long amount) + public long removeFromBalance(long amount) { - return this.addBalance(-amount); + return this.addToBalance(-amount); } @Override diff --git a/Patchwork/src/main/java/me/totalfreedom/economy/Transaction.java b/Patchwork/src/main/java/me/totalfreedom/economy/Transaction.java index fc094cc..3413976 100644 --- a/Patchwork/src/main/java/me/totalfreedom/economy/Transaction.java +++ b/Patchwork/src/main/java/me/totalfreedom/economy/Transaction.java @@ -10,9 +10,9 @@ public interface Transaction long getBalance(); - long addBalance(final long amount); + long addToBalance(final long amount); - long removeBalance(final long amount); + long removeFromBalance(final long amount); void setBalance(final long newBalance); }