2024-05-22 22:31:19 +07:00

21 lines
430 B
C#

// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
using MonoMod;
namespace Manager.MaiStudio.Serialize;
public class patch_FilePath : FilePath
{
[MonoModReplace]
public override void AddPath(string parentPath)
{
if (string.IsNullOrEmpty(path) || path.StartsWith(parentPath))
{
return;
}
path = parentPath + path;
}
}