This commit is contained in:
Leijurv 2018-12-03 14:20:30 -08:00
parent 147df1ffb2
commit e25bf9f077
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -47,7 +47,7 @@ public abstract class PathBase implements IPath {
return this;
}
double factor = BaritoneAPI.getSettings().pathCutoffFactor.get();
int newLength = (int) ((length() - 1) * factor) + min;
int newLength = (int) ((length() - 1 - min) * factor) + min;
return new CutoffPath(this, newLength);
}
}