Prevent from getting broken pipe item
This commit is contained in:
parent
5eca225083
commit
120d041059
1 changed files with 1 additions and 2 deletions
|
@ -613,10 +613,9 @@ public class BlockGenericPipe extends BlockBuildCraft {
|
||||||
+ Block block = matrix.getFacadeBlock(dir);
|
+ Block block = matrix.getFacadeBlock(dir);
|
||||||
+ if(block != null)
|
+ if(block != null)
|
||||||
+ return ItemFacade.getStack(block, matrix.getFacadeMetaId(dir));
|
+ return ItemFacade.getStack(block, matrix.getFacadeMetaId(dir));
|
||||||
+ else return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return super.getPickBlock(target, world, x, y, z);
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wrappers ************************************************************ */
|
/* Wrappers ************************************************************ */
|
||||||
|
|
Loading…
Reference in a new issue