From fd35bf91a00ccfc0c70666b854839f306abd8601 Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 18 Jun 2026 18:40:37 -0300 Subject: [PATCH] style: more info, comment out unneeded log --- src/dumper/dumper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }