mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
getLoadedChunks method
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
parent
f7ae67a1c4
commit
e4dc51e235
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ public class CraftWorld implements World {
|
||||||
return world.A.a( x, z );
|
return world.A.a( x, z );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Chunk[] getLoadedChunks() {
|
||||||
|
return world.A.getLoadedChunks();
|
||||||
|
}
|
||||||
|
|
||||||
public void loadChunk(int x, int z) {
|
public void loadChunk(int x, int z) {
|
||||||
world.A.d(x, z);
|
world.A.d(x, z);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue