mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-20 09:15:29 +01:00
489bfd14bc
There was an issue in 1.8 specifically(where PaperLib doesn't has async chunks) that caused a similar error to this https://pastebin.com/tHtKdH5y. The issue was caused by the async task trying to take an snapshot of a chunk that couldn't be loaded async correctly, which caused issues like the shown above. The fix works in the next way. All the chunks that don't have an available snapshot are sent into a pendingChunks list where a sync task will try to process a certain amount of chunks every tick. After the async processing is finished, the task remains waiting for the pending chunks to be available. When all the pending chunks are ready to be processed(have an available snapshot) the async task resumes and process the chunks that were pending. |
||
---|---|---|
src/main | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
pom.xml |