Fixed isChunkLoaded(Chunk chunk)

This commit is contained in:
Dinnerbone 2011-01-03 03:25:24 +00:00
parent b2812b74d4
commit 7ecc3d5b4b

View file

@ -54,8 +54,8 @@ public class CraftWorld implements World {
return getChunkAt(block.getX() << 4, block.getZ() << 4);
}
public boolean isChunkLoaded() {
throw new UnsupportedOperationException("Not supported yet.");
public boolean isChunkLoaded(Chunk chunk) {
return world.A.a(chunk.getX(), chunk.getZ());
}
public Block updateBlock(int x, int y, int z) {