style: wrong log text, missing line break

This commit is contained in:
2026-06-18 18:03:42 -03:00
parent be49c616a5
commit 62526fd246
+3 -2
View File
@@ -174,7 +174,7 @@ class Dumper
if (_dataPak == null || _provider == null) if (_dataPak == null || _provider == null)
throw new InvalidOperationException("Attempted to call dump function without dumper initialization/state"); throw new InvalidOperationException("Attempted to call dump function without dumper initialization/state");
_log.Info("Dumping character icons"); _log.Info("Dumping items");
List<string> itemDBPaths = _dataPak.Files.Keys.Where(x => x.Contains("/ItemDB.uasset", StringComparison.OrdinalIgnoreCase)).ToList(); List<string> itemDBPaths = _dataPak.Files.Keys.Where(x => x.Contains("/ItemDB.uasset", StringComparison.OrdinalIgnoreCase)).ToList();
@@ -283,7 +283,8 @@ class Dumper
private void ExportIcon(string assetPath, string outPath) private void ExportIcon(string assetPath, string outPath)
{ {
if (_provider == null) throw new InvalidOperationException("Attempted to call dump function without dumper initialization/state"); if (_provider == null)
throw new InvalidOperationException("Attempted to call dump function without dumper initialization/state");
string cleanPath = assetPath.Contains('.') ? assetPath[..assetPath.LastIndexOf('.')] : assetPath; string cleanPath = assetPath.Contains('.') ? assetPath[..assetPath.LastIndexOf('.')] : assetPath;
string fileName = Path.GetFileName(cleanPath) + ".png"; string fileName = Path.GetFileName(cleanPath) + ".png";