diff --git a/src/dumper/dumper.cs b/src/dumper/dumper.cs index 80a4ada..8d98e45 100644 --- a/src/dumper/dumper.cs +++ b/src/dumper/dumper.cs @@ -135,7 +135,7 @@ class Dumper if (!TryGetProp(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(props, "DisplayName", out string charName) || !TryGetStringProp(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; }