summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrozenCow <frozencow@gmail.com>2011-01-04 05:56:09 +0800
committerDinner Bone <dinnerbone@dinnerbone.com>2011-01-04 06:08:14 +0800
commit43db386fe4d9ed51d5e64f55285367c721e4b239 (patch)
tree60b0aaa1903cb33d7327ed7b9d50d3fb54c88569 /src
parentb7f7c3ffb575725127f0cac602357fa7d81b1e4a (diff)
downloadcraftbukkit-43db386fe4d9ed51d5e64f55285367c721e4b239.tar
craftbukkit-43db386fe4d9ed51d5e64f55285367c721e4b239.tar.gz
craftbukkit-43db386fe4d9ed51d5e64f55285367c721e4b239.tar.lz
craftbukkit-43db386fe4d9ed51d5e64f55285367c721e4b239.tar.xz
craftbukkit-43db386fe4d9ed51d5e64f55285367c721e4b239.zip
Added getHighestBlockYAt
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftWorld.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 5cd587b2..31b9d0f0 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -42,6 +42,10 @@ public class CraftWorld implements World {
return block;
}
+
+ public int getHighestBlockYAt(int x, int z) {
+ return world.d(x, z);
+ }
public Chunk getChunkAt(int x, int z) {
ChunkCoordinate loc = new ChunkCoordinate(x, z);