From 5aa1bc269d22849533544af82cd0164ed1049522 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sat, 15 Jan 2011 21:01:49 +0100 Subject: [PATCH] Implemented int getBlockTypeIdAt(int x, int y, int z). --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/main/java/org/bukkit/craftbukkit/CraftWorld.java diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java old mode 100644 new mode 100755 index b7b9ab2a94..42ef546aa8 --- 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); }