No longer waits for island to complete scanning.
This commit is contained in:
parent
69d10d8d5f
commit
c420a610a3
@ -59,6 +59,7 @@ public class IslandInformationManager {
|
||||
if (islandMap.isIsland(worldX, worldZ)) {
|
||||
IslandInformationBuilder infoBuilder = new IslandInformationBuilder();
|
||||
Point2 origin = islandMap.findIslandOrigin(worldX, worldZ, (p) -> {
|
||||
if (Thread.currentThread().isInterrupted()) return true;
|
||||
if (!checkedCoordinates.add(p))
|
||||
return true;
|
||||
infoBuilder.addCoordinate(p, islandMap.isEdgeOfIsland(p.x, p.y));
|
||||
|
Loading…
Reference in New Issue
Block a user