mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-23 16:39:22 +00:00
Retry on paper load failures
This commit is contained in:
@@ -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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user