Issue fixed in GraalVM 21.3

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2021-09-16 05:08:49 +02:00
parent aa33e2256c
commit f1a1adc74f

View File

@ -148,7 +148,6 @@ public final class ChunkUtils {
* @return an array containing chunks index
*/
public static long @NotNull [] getChunksInRange(int chunkX, int chunkZ, int range) {
// FIXME: currently broken using GraalVM
long[] array = new long[MathUtils.square(range * 2 + 1)];
int i = 0;
for (int x = -range; x <= range; ++x) {