Fix trees destroying pipes.

This commit is contained in:
tcooc 2012-11-24 17:13:43 -05:00
parent 1817ae6936
commit 560cee32b4

View file

@ -28,6 +28,7 @@ import buildcraft.core.utils.Utils;
import buildcraft.transport.render.PipeWorldRenderer;
import net.minecraft.src.AxisAlignedBB;
import net.minecraft.src.Block;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.Entity;
import net.minecraft.src.EntityPlayer;
@ -60,6 +61,11 @@ public class BlockGenericPipe extends BlockContainer {
return false;
}
@Override
public boolean canBeReplacedByLeaves(World world, int x, int y, int z) {
return false;
}
@Override
public boolean renderAsNormalBlock() {
return false;