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); return getChunkAt(block.getX() << 4, block.getZ() << 4);
} }
public boolean isChunkLoaded() { public boolean isChunkLoaded(Chunk chunk) {
throw new UnsupportedOperationException("Not supported yet."); return world.A.a(chunk.getX(), chunk.getZ());
} }
public Block updateBlock(int x, int y, int z) { public Block updateBlock(int x, int y, int z) {