Temporarily not use dalamud function because it is not available in release yet.

This commit is contained in:
Ottermandias 2023-08-18 20:34:16 +02:00
parent 82ba2cd16a
commit 4c611530f3

View file

@ -42,10 +42,10 @@ public class DalamudSubstitutionProvider : IDisposable
public void ResetSubstitutions(IEnumerable<Utf8GamePath> paths)
{
var transformed = paths
.Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
.Select(p => p.ToString());
_substitution.InvalidatePaths(transformed);
//var transformed = paths
// .Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
// .Select(p => p.ToString());
//_substitution.InvalidatePaths(transformed);
}
public void Enable()