WIP/untested API 11

This commit is contained in:
Liza 2024-11-15 22:53:02 +01:00
parent 3896e10b66
commit 232b439ea5
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -107,7 +107,6 @@ public static class DataManagerExtensions
public static Regex ToRegex(this ReadOnlySeString? text) public static Regex ToRegex(this ReadOnlySeString? text)
{ {
ArgumentNullException.ThrowIfNull(text); ArgumentNullException.ThrowIfNull(text);
text.Value.ToDalamudString().Payloads;
return new Regex(string.Join("", text.Value.Select(payload => return new Regex(string.Join("", text.Value.Select(payload =>
{ {
if (payload.Type == ReadOnlySePayloadType.Text) if (payload.Type == ReadOnlySePayloadType.Text)