9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2026-01-04 15:41:46 +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()) if (!CommandAPI.isLoaded())
CommandAPI.onLoad(new CommandAPIBukkitConfig(plugin).silentLogs(true)); CommandAPI.onLoad(new CommandAPIBukkitConfig(plugin).silentLogs(true));
new CommandAPICommand("customcrops") new CommandAPICommand("customcrops")
.withPermission(CommandPermission.OP) .withPermission("customcrops.admin")
.withAliases("ccrops") .withAliases("ccrops")
.withSubcommands( .withSubcommands(
getReloadCommand(), getReloadCommand(),