We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e49f5e commit 60d49acCopy full SHA for 60d49ac
Source/Statics/PathManager.cs
@@ -177,7 +177,7 @@ public static string GetPath(string fileName)
177
/// <typeparam name="T">The type to get the assembly from, which is used to get the name.</typeparam>
178
/// <param name="_">Any data from the assembly, which is used to get the name.</param>
179
/// <returns>The path to the mod.</returns>
180
- public static string GetPath<T>(T _) => GetPath(FileFormat.Form(NameOfAssembly<T>(), FileExtensionWindows));
+ public static string GetPath<T>(T _ = default) => GetPath(FileFormat.Form(NameOfAssembly<T>(), FileExtensionWindows));
181
182
/// <summary>
183
/// Loads a library by searching for the bundle. Do not run this on the Editor.
0 commit comments