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:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user