9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00
This commit is contained in:
CocoTheOwner
2021-02-23 20:45:04 +01:00
parent c2af0e8b48
commit e8adb7d533

View File

@@ -125,7 +125,7 @@ public class IrisJigsawStructure extends IrisRegistrant
avg += getLoader().getJigsawPieceLoader().load(i).getMax2dDimension();
}
return (avg/(pieces.size() > 0 ? 1 : pieces.size())) * (((getMaxDepth() + 1) * 2) + 1);
return (avg/(pieces.size() > 0 ? pieces.size() : 1)) * (((getMaxDepth() + 1) * 2) + 1);
}
});
}