summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-03 03:25:24 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-03 03:27:47 +0000
commit7ecc3d5b4b76de0f3b65de29eb184e0e3c132763 (patch)
treef7a6058d3ceecb369e9384fbfb5d5ce21ac0291e /src
parentb2812b74d4a9c4646f72f9608cf660abede09427 (diff)
downloadcraftbukkit-7ecc3d5b4b76de0f3b65de29eb184e0e3c132763.tar
craftbukkit-7ecc3d5b4b76de0f3b65de29eb184e0e3c132763.tar.gz
craftbukkit-7ecc3d5b4b76de0f3b65de29eb184e0e3c132763.tar.lz
craftbukkit-7ecc3d5b4b76de0f3b65de29eb184e0e3c132763.tar.xz
craftbukkit-7ecc3d5b4b76de0f3b65de29eb184e0e3c132763.zip
Fixed isChunkLoaded(Chunk chunk)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftWorld.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 25a7bd18..20fd62ad 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -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) {