summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-03-20 18:45:55 +0100
committerErik Broes <erikbroes@grum.nl>2011-03-21 00:30:00 +0100
commit0d2dc3902c1341be9bb1c51ab7e2be1a925788e3 (patch)
tree450f1641a48ffa0d9e1e82133eff3cc565be38b2 /src
parent11590f49f0f03a2da43583e806f218bf7b56e34c (diff)
downloadcraftbukkit-0d2dc3902c1341be9bb1c51ab7e2be1a925788e3.tar
craftbukkit-0d2dc3902c1341be9bb1c51ab7e2be1a925788e3.tar.gz
craftbukkit-0d2dc3902c1341be9bb1c51ab7e2be1a925788e3.tar.lz
craftbukkit-0d2dc3902c1341be9bb1c51ab7e2be1a925788e3.tar.xz
craftbukkit-0d2dc3902c1341be9bb1c51ab7e2be1a925788e3.zip
Fix BlockCanBuild
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/World.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 9dc4297d..f75b320d 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();