Section 1231 gains on K-1

I was a shareholder in a bank corporation that was sold in 2020. I had inherited the stock so I have an increase between the cost basis when inherited and the sale price. The corporation K-1 shows an Section 1231 gain on the 1120 S. Is this gain in addition to the gain between cost basis and sale price or part of it?