diff --git a/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/LookupSubCommand.java b/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/LookupSubCommand.java index 27aa77dd..d66ae156 100644 --- a/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/LookupSubCommand.java +++ b/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/LookupSubCommand.java @@ -52,6 +52,7 @@ public void registerAsChild(ArgumentBuilder parentBuilder { parentBuilder.then( Commands.literal("lookup") + .requires(this::checkPermission) .then( Commands.argument("who", StringArgumentType.string()) .executes(this::execWithName) diff --git a/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/SkinCacheSubCommand.java b/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/SkinCacheSubCommand.java index 2bc62bf5..aeefc792 100644 --- a/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/SkinCacheSubCommand.java +++ b/src/main/java/xyz/nifeather/morph/commands/subcommands/plugin/SkinCacheSubCommand.java @@ -64,6 +64,7 @@ public void registerAsChild(ArgumentBuilder parentBuilder { parentBuilder.then( Commands.literal(name()) + .requires(this::checkPermission) .then( Commands.literal("list") .executes(ctx -> this.executeList(ctx, null))