diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-01-15 21:01:49 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-01-15 21:01:49 +0100 |
commit | 5aa1bc269d22849533544af82cd0164ed1049522 (patch) | |
tree | d465446a75509d4f894962a9cfe8eb5caf19fdb9 /src/main | |
parent | dea72d662387204357a3f0a8791e7bd7484472f4 (diff) | |
download | craftbukkit-5aa1bc269d22849533544af82cd0164ed1049522.tar craftbukkit-5aa1bc269d22849533544af82cd0164ed1049522.tar.gz craftbukkit-5aa1bc269d22849533544af82cd0164ed1049522.tar.lz craftbukkit-5aa1bc269d22849533544af82cd0164ed1049522.tar.xz craftbukkit-5aa1bc269d22849533544af82cd0164ed1049522.zip |
Implemented int getBlockTypeIdAt(int x, int y, int z).
Diffstat (limited to 'src/main')
-rwxr-xr-x[-rw-r--r--] | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index b7b9ab2a..42ef546a 100644..100755 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -53,7 +53,11 @@ public class CraftWorld implements World { return block; } - + + public int getBlockTypeIdAt(int x, int y, int z) { + return world.a(x, y, z); + } + public int getHighestBlockYAt(int x, int z) { return world.d(x, z); } |