diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-03 03:25:24 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-03 03:27:47 +0000 |
commit | 7ecc3d5b4b76de0f3b65de29eb184e0e3c132763 (patch) | |
tree | f7a6058d3ceecb369e9384fbfb5d5ce21ac0291e /src | |
parent | b2812b74d4a9c4646f72f9608cf660abede09427 (diff) | |
download | craftbukkit-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.java | 4 |
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) { |