From d267b15b44e158e1232ff2a2d7e8f3c8838fb186 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 1 Mar 2012 15:38:34 +0000 Subject: [PATCH] Fixed compile issues with StructureGrowDelegate not implementing the new isEmpty method By: Nathan Adams --- .../org/bukkit/craftbukkit/util/StructureGrowDelegate.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/util/StructureGrowDelegate.java b/paper-server/src/main/java/org/bukkit/craftbukkit/util/StructureGrowDelegate.java index a6263b91a7..f7bab681d5 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/util/StructureGrowDelegate.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/util/StructureGrowDelegate.java @@ -41,4 +41,8 @@ public class StructureGrowDelegate implements BlockChangeDelegate { public List getBlocks() { return blocks; } + + public boolean isEmpty(int x, int y, int z) { + return world.getBlockAt(x, y, z).isEmpty(); + } }