mirror of
https://github.com/PaperMC/Folia.git
synced 2025-04-22 12:19:18 +08:00
We need to verify that the methods are only being invoked on the global region. Additionally, do not use CraftWorld#getChunk for retrieving the Chunk object as it would trip a thread check. Rather, we construct the CraftChunk manually as it is simply a world+coordinates wrapper. The call never needed to block until the chunk was loaded either.