13
0
geforkt von Mirrors/Paper

Added getHighestBlockYAt

Dieser Commit ist enthalten in:
FrozenCow 2011-01-04 05:56:09 +08:00 committet von Dinner Bone
Ursprung b7f7c3ffb5
Commit 43db386fe4

Datei anzeigen

@ -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);