Skip to content
Success

Changes

Summary

  1. #673: Fix Craftworld#isChunkLoaded (details)
Commit fad2494af1a041aa18d2ec73cecd6ea787895ba9 by md_5
#673: Fix Craftworld#isChunkLoaded

The flag for getChunkAt(int, int, ChunkStatus, boolean)
is actually a flag for whether to bring the underlying
PlayerChunk up to the required ticket level to load the
chunk. So, if the chunk is already at the required level,
but has not yet loaded, the call will actually either
start the load if it has not already been started and
block until completion.

This behaviour is not suitable for just
checking if the chunk is loaded.
The file was modified src/main/java/org/bukkit/craftbukkit/CraftWorld.java
The file was modified nms-patches/ChunkProviderServer.patch