diff --git a/src/endstone_core/command/bedrock_command.cpp b/src/endstone_core/command/bedrock_command.cpp index 3a885d814..f9e02d559 100644 --- a/src/endstone_core/command/bedrock_command.cpp +++ b/src/endstone_core/command/bedrock_command.cpp @@ -22,7 +22,7 @@ BedrockCommand::BedrockCommand(std::string name, std::string description, std::v std::vector aliases, std::vector permissions) : Command(std::move(name), std::move(description), std::move(usages), std::move(aliases), std::move(permissions)) { - setPermissions("minecraft.commands." + getName()); + setPermissions("minecraft.command." + getName()); } bool BedrockCommand::execute(CommandSender &sender, const std::vector &args) const