style: more info, comment out unneeded log
This commit is contained in:
@@ -135,7 +135,7 @@ class Dumper
|
||||
if (!TryGetProp<int>(props, "CharacterIndex", out int charIndex))
|
||||
throw new KeyNotFoundException("CharacterIndex was not found.");
|
||||
|
||||
if (charIndex == -1) return;
|
||||
if (charIndex == -1) return; // there is a -1 character (template, placeholder, spectator or smth)
|
||||
|
||||
if (!TryGetStringProp<FText>(props, "DisplayName", out string charName) || !TryGetStringProp<FName>(props, "IconFilePath", out string charIconFilePath))
|
||||
throw new KeyNotFoundException("DisplayName or IconFilePath was not found.");
|
||||
@@ -319,7 +319,7 @@ class Dumper
|
||||
}
|
||||
}
|
||||
|
||||
_log.Error($"Property '{propName}' returned an empty or null string.");
|
||||
//_log.Error($"Property '{propName}' returned an empty or null string.");
|
||||
value = string.Empty;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user