Archiviert
13
0

Fix BlockCanBuild

Dieser Commit ist enthalten in:
Erik Broes 2011-03-20 18:45:55 +01:00
Ursprung 11590f49f0
Commit 0d2dc3902c

Datei anzeigen

@ -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();