diff --git a/src/main/java/xyz/soukup/ecoCraftCore/commands/MoneyCommand.java b/src/main/java/xyz/soukup/ecoCraftCore/commands/MoneyCommand.java index f94154c..6dcd0ec 100644 --- a/src/main/java/xyz/soukup/ecoCraftCore/commands/MoneyCommand.java +++ b/src/main/java/xyz/soukup/ecoCraftCore/commands/MoneyCommand.java @@ -21,7 +21,6 @@ public class MoneyCommand { .then(Commands.argument("amount", FloatArgumentType.floatArg(0.1F)) .executes(MoneyCommand::sendMoney)))) .then(Commands.literal("give") - .requires(source -> source.getExecutor().hasPermission("ecc.money.give")) .then(Commands.argument("amount", FloatArgumentType.floatArg(0.1F)) .requires(source -> source.getSender() instanceof Player) .executes(MoneyCommand::giveMoneySelf)) @@ -33,7 +32,6 @@ public class MoneyCommand { .then(Commands.argument("amount", FloatArgumentType.floatArg(0.1F)) .executes(MoneyCommand::giveMoneyOther))))) .then(Commands.literal("remove") - .requires(source -> source.getExecutor().hasPermission("ecc.money.remove")) .then(Commands.argument("amount", FloatArgumentType.floatArg(0.1F)) .requires(source -> source.getSender() instanceof Player) .executes(MoneyCommand::removeMoneySelf))