mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Added getHighestBlockYAt
By: FrozenCow <frozencow@gmail.com>
This commit is contained in:
parent
449fb6523a
commit
7e9bfd9d43
@ -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 New Issue
Block a user