GP-1593 - fixed bug introduced by GP-1593

This commit is contained in:
ghidragon 2023-03-24 15:22:48 -04:00
parent fa38ad285d
commit 043f57d04a

View file

@ -175,7 +175,7 @@ public class IndexMap {
* except for the last line of a block which may end part way in the line. * except for the last line of a block which may end part way in the line.
*/ */
int getLastActiveFactoryIndex(BigInteger index, FieldFactory[] factories) { int getLastActiveFactoryIndex(BigInteger index, FieldFactory[] factories) {
for (int i = factories.length - 1; i > 0; i--) { for (int i = factories.length - 1; i >= 0; i--) {
if (factories[i].isActive(index)) { if (factories[i].isActive(index)) {
return i; return i;
} }