mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #579 from erri120/octodiff-fix
Fixed ArgumentException in Octodiff Reporter
This commit is contained in:
commit
5f0d47b1bf
@ -32,6 +32,8 @@ namespace Wabbajack.Common
|
||||
{
|
||||
public void ReportProgress(string operation, long currentPosition, long total)
|
||||
{
|
||||
if (currentPosition >= total || total < 1 || currentPosition < 0)
|
||||
return;
|
||||
Utils.Status(operation, new Percent(total, currentPosition));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user