style: wrong log text, missing line break
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user