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>
|
||||
|
|
|
|||
|
|
@ -278,6 +278,11 @@ public partial class ConfigWindow
|
|||
return true;
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker( "- Bell Retainers also apply to Mannequins named after them, but not to outdoor retainers, since they only carry their owners name.\n"
|
||||
+ "- Some NPCs are available as Battle- and Event NPCs and need to be setup for both if desired.\n"
|
||||
+ "- Battle- and Event NPCs may apply to more than one ID if they share the same name. This is language dependent. If you change your clients language, verify that your collections are still correctly assigned." );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue