mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix(PluginConfigurations): add CanBeNullAttribute to Load()
This commit is contained in:
parent
59ce9f94e2
commit
01727929a5
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.IO;
|
||||
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud.Configuration
|
||||
|
|
@ -44,6 +45,7 @@ namespace Dalamud.Configuration
|
|||
/// </summary>
|
||||
/// <param name="pluginName">Plugin name.</param>
|
||||
/// <returns>Plugin configuration.</returns>
|
||||
[CanBeNull]
|
||||
public IPluginConfiguration Load(string pluginName)
|
||||
{
|
||||
var path = this.GetConfigFile(pluginName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue