From 7ebcfedcf6ca957a514761650d4ac256285da6cc Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sat, 26 Aug 2023 22:56:08 +0200 Subject: [PATCH] docs: add TODO --- .../lighteco/common/manager/command/AbstractCommandManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/dev/xhyrom/lighteco/common/manager/command/AbstractCommandManager.java b/common/src/main/java/dev/xhyrom/lighteco/common/manager/command/AbstractCommandManager.java index 29a514e..02663b4 100644 --- a/common/src/main/java/dev/xhyrom/lighteco/common/manager/command/AbstractCommandManager.java +++ b/common/src/main/java/dev/xhyrom/lighteco/common/manager/command/AbstractCommandManager.java @@ -118,6 +118,8 @@ public abstract class AbstractCommandManager implements CommandManager { User user = this.plugin.getUserManager().getIfLoaded(sender.getUniqueId()); + // TODO: ADD CHECKS FOR IF USER HAS ENOUGH MONEY + // calculate tax using Currency#calculateTax BigDecimal tax = currency.getProxy().calculateTax(user.getProxy(), amount);