From 0d2dc3902c1341be9bb1c51ab7e2be1a925788e3 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 20 Mar 2011 18:45:55 +0100 Subject: [PATCH] Fix BlockCanBuild --- src/main/java/net/minecraft/server/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index 9dc4297dbe..f75b320d61 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -1637,7 +1637,7 @@ public class World implements IBlockAccess { return false; } - BlockCanBuildEvent event = new BlockCanBuildEvent(Type.BLOCK_CANBUILD, ((WorldServer) this).getWorld().getBlockAt(j, k, l), i1, defaultReturn); + BlockCanBuildEvent event = new BlockCanBuildEvent(Type.BLOCK_CANBUILD, ((WorldServer) this).getWorld().getBlockAt(j, k, l), i, defaultReturn); ((WorldServer) this).getServer().getPluginManager().callEvent(event); return event.isBuildable();