Fix DhApiChunk setDataPoints failing for empty lists

This commit is contained in:
James Seibel
2024-08-11 21:55:11 -05:00
parent dac51a9eea
commit c63a509f9e
@@ -124,7 +124,7 @@ public class DhApiChunk
throwIfRelativePosOutOfBounds(relX, relZ);
// ignore empty inputs
if (dataPoints == null)
if (dataPoints == null || dataPoints.size() == 0)
{
return;
}