Prevent from getting broken pipe item

This commit is contained in:
Anton 2014-03-16 00:44:39 +02:00
parent 5eca225083
commit 120d041059

View file

@ -613,10 +613,9 @@ public class BlockGenericPipe extends BlockBuildCraft {
+ Block block = matrix.getFacadeBlock(dir);
+ if(block != null)
+ return ItemFacade.getStack(block, matrix.getFacadeMetaId(dir));
+ else return null;
}
}
return super.getPickBlock(target, world, x, y, z);
return null;
}
/* Wrappers ************************************************************ */