From 09d125802a74d3b43850ec33a35ae331ddc97c07 Mon Sep 17 00:00:00 2001 From: CWX Date: Wed, 5 Jun 2024 09:11:34 +0100 Subject: [PATCH] fix pathing to not use uri --- project/SPT.Custom/Patches/FileCachePatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/SPT.Custom/Patches/FileCachePatch.cs b/project/SPT.Custom/Patches/FileCachePatch.cs index 2c7d3ac..daa675c 100644 --- a/project/SPT.Custom/Patches/FileCachePatch.cs +++ b/project/SPT.Custom/Patches/FileCachePatch.cs @@ -14,7 +14,7 @@ namespace SPT.Custom.Patches /// public class FileCachePatch : ModulePatch { - private static readonly string _sptPath = new Uri(Path.Combine(Environment.CurrentDirectory, "user", "sptappdata")).AbsolutePath; + private static readonly string _sptPath = Path.Combine(Environment.CurrentDirectory, "user", "sptappdata"); protected override MethodBase GetTargetMethod() {