Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core

This commit is contained in:
James Seibel
2025-01-22 21:31:20 -06:00
@@ -866,6 +866,11 @@ public class FullDataSourceV2
*/
public static void throwIfDataColumnInWrongOrder(long pos, LongArrayList dataArray) throws IllegalStateException
{
if (dataArray.size() < 2)
{
return;
}
long firstDataPoint = dataArray.getLong(0);
int firstBottomY = FullDataPointUtil.getBottomY(firstDataPoint);
@@ -884,6 +889,11 @@ public class FullDataSourceV2
*/
private static void ensureDataColumnOrder(LongArrayList dataColumn)
{
if (dataColumn.size() < 2)
{
return;
}
long firstDataPoint = dataColumn.getLong(0);
int firstBottomY = FullDataPointUtil.getBottomY(firstDataPoint);