mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Merge branch 'master' of github.com:Bukkit/CraftBukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
commit
49285bc5b6
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ public class CraftWorld implements World {
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getHighestBlockYAt(int x, int z) {
|
||||||
|
return world.d(x, z);
|
||||||
|
}
|
||||||
|
|
||||||
public Chunk getChunkAt(int x, int z) {
|
public Chunk getChunkAt(int x, int z) {
|
||||||
ChunkCoordinate loc = new ChunkCoordinate(x, z);
|
ChunkCoordinate loc = new ChunkCoordinate(x, z);
|
||||||
Chunk chunk = chunkCache.get(loc);
|
Chunk chunk = chunkCache.get(loc);
|
||||||
|
|
Loading…
Reference in a new issue