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