summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-01-15 21:01:49 +0100
committerErik Broes <erikbroes@grum.nl>2011-01-15 21:01:49 +0100
commit5aa1bc269d22849533544af82cd0164ed1049522 (patch)
treed465446a75509d4f894962a9cfe8eb5caf19fdb9 /src/main
parentdea72d662387204357a3f0a8791e7bd7484472f4 (diff)
downloadcraftbukkit-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.java6
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);
}