should be return ISLAND_CHUNKS.get(ORDERING[i - 1]-1);
jsorrell commented
Yeah, looks like it'll crash after 44 new islands or so. I was going back and forth between 1 and 0 indexing and must've failed. I'll probably just change 64 to 0 in ORDERING to preserve current island numbers, even if the island priority isn't perfect.