Added getHighestBlockYAt

By: FrozenCow <frozencow@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-04 05:56:09 +08:00
parent 449fb6523a
commit 7e9bfd9d43

View File

@ -42,6 +42,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);