Fix trees destroying pipes.
This commit is contained in:
parent
1817ae6936
commit
560cee32b4
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,7 @@ import buildcraft.core.utils.Utils;
|
||||||
import buildcraft.transport.render.PipeWorldRenderer;
|
import buildcraft.transport.render.PipeWorldRenderer;
|
||||||
|
|
||||||
import net.minecraft.src.AxisAlignedBB;
|
import net.minecraft.src.AxisAlignedBB;
|
||||||
|
import net.minecraft.src.Block;
|
||||||
import net.minecraft.src.BlockContainer;
|
import net.minecraft.src.BlockContainer;
|
||||||
import net.minecraft.src.Entity;
|
import net.minecraft.src.Entity;
|
||||||
import net.minecraft.src.EntityPlayer;
|
import net.minecraft.src.EntityPlayer;
|
||||||
|
@ -60,6 +61,11 @@ public class BlockGenericPipe extends BlockContainer {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canBeReplacedByLeaves(World world, int x, int y, int z) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean renderAsNormalBlock() {
|
public boolean renderAsNormalBlock() {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue