9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-23 08:59:28 +00:00

Update CommandManager.java

This commit is contained in:
XiaoMoMi
2024-05-26 22:35:11 +08:00
parent 597c71f789
commit aeeac0fdb6

View File

@@ -56,7 +56,7 @@ public class CommandManager implements Initable {
if (!CommandAPI.isLoaded())
CommandAPI.onLoad(new CommandAPIBukkitConfig(plugin).silentLogs(true));
new CommandAPICommand("customcrops")
.withPermission(CommandPermission.OP)
.withPermission("customcrops.admin")
.withAliases("ccrops")
.withSubcommands(
getReloadCommand(),