mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +01:00
Fixed isChunkLoaded(Chunk chunk)
This commit is contained in:
parent
b2812b74d4
commit
7ecc3d5b4b
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ public class CraftWorld implements World {
|
|||
return getChunkAt(block.getX() << 4, block.getZ() << 4);
|
||||
}
|
||||
|
||||
public boolean isChunkLoaded() {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
public boolean isChunkLoaded(Chunk chunk) {
|
||||
return world.A.a(chunk.getX(), chunk.getZ());
|
||||
}
|
||||
|
||||
public Block updateBlock(int x, int y, int z) {
|
||||
|
|
Loading…
Reference in a new issue