mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
added load chunk method
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
parent
b50a636f98
commit
182031fe9d
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ public class CraftWorld implements World {
|
|||
return world.A.a(chunk.getX(), chunk.getZ());
|
||||
}
|
||||
|
||||
public void loadChunk(Chunk chunk) {
|
||||
world.A.d(chunk.getX(), chunk.getZ());
|
||||
}
|
||||
|
||||
|
||||
public Block updateBlock(int x, int y, int z) {
|
||||
BlockCoordinate loc = new BlockCoordinate(x, y, z);
|
||||
CraftBlock block = (CraftBlock)blockCache.get(loc);
|
||||
|
|
Loading…
Reference in a new issue