mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Retry on paper load failures
This commit is contained in:
parent
3a658e10f1
commit
611d3c3b63
@ -63,7 +63,8 @@ public class AsyncPregenMethod implements PregeneratorMethod {
|
|||||||
PaperLib.getChunkAtAsync(world, x, z, true).get();
|
PaperLib.getChunkAtAsync(world, x, z, true).get();
|
||||||
listener.onChunkGenerated(x, z);
|
listener.onChunkGenerated(x, z);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
e.printStackTrace();
|
J.sleep(5);
|
||||||
|
future.add(burst.complete(() -> completeChunk(x, z, listener)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user