mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Clean up based on .NET Core 3.1 reccomendations
This commit is contained in:
@@ -125,7 +125,7 @@ namespace SabreTools.IO.Readers
|
||||
// Standalone (special case for DC dats)
|
||||
if (CurrentLine.StartsWith("Name:"))
|
||||
{
|
||||
string temp = CurrentLine.Substring("Name:".Length).Trim();
|
||||
string temp = CurrentLine["Name:".Length..].Trim();
|
||||
CurrentLine = $"Name: {temp}";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user