mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Names can have a hyphen as last character apparently.
This commit is contained in:
parent
2e272f8e3a
commit
e221c275a2
2 changed files with 7 additions and 2 deletions
|
|
@ -345,7 +345,7 @@ public partial class ActorManager
|
|||
last = current;
|
||||
}
|
||||
|
||||
return part[^1] != '-';
|
||||
return true;
|
||||
}
|
||||
|
||||
private static bool CheckNamePart(ReadOnlySpan<byte> part, int minLength, int maxLength)
|
||||
|
|
@ -375,7 +375,7 @@ public partial class ActorManager
|
|||
last = current;
|
||||
}
|
||||
|
||||
return part[^1] != (byte)'-';
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary> Checks if the world is a valid public world or ushort.MaxValue (any world). </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue