Formatting...

This commit is contained in:
Ottermandias 2022-11-19 21:28:27 +01:00
parent c8edd87df8
commit 41ed873eaf

View file

@ -521,7 +521,7 @@ public class Penumbra : IDalamudPlugin
if( id.Type is IdentifierType.Player or IdentifierType.Owned )
{
var parts = name.Split( ' ', 3 );
return string.Join( " ", parts.Length != 3 ? parts.Select( n => $"{n[ 0 ]}." ) : parts[ ..2 ].Select( n => $"{n[ 0 ]}." ).Append( parts[2] ) );
return string.Join( " ", parts.Length != 3 ? parts.Select( n => $"{n[ 0 ]}." ) : parts[ ..2 ].Select( n => $"{n[ 0 ]}." ).Append( parts[ 2 ] ) );
}
return name + ':';