CivClassic / CivModCore

Plugin Core and general purpose API for Civ Plugins - Updated for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
2 stars 20 forks source link

Maybe fix getCenteredInOrder #75

Closed Diet-Cola closed 3 years ago

Diet-Cola commented 3 years ago

From my perspective, the counter wasn't accounting for the row offset from the top, we simply just add on the row length to account for that and aswell as in the counter we add 1 since that doesn't occur if i is equal to lastElementLastCompleteRow

Looking for review before merging

Diet-Cola commented 3 years ago

This is live on Devoted Hell, no issues known so far