Fixed isChunkLoaded(Chunk chunk)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-03 03:25:24 +00:00
parent 8d1eea196c
commit 40fe64d5d7

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) {